Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 39 additions & 13 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9158,9 +9158,10 @@ paths:
workspace_id:
type: string
filters:
$ref: "#/components/schemas/FilterSchema"
$ref: "#/components/schemas/GenerationsFilterSchema"
requested_data:
$ref: "#/components/schemas/LogExportsRequestedData"
required:
- workspace_id
- filters
responses:
'200':
Expand Down Expand Up @@ -9200,13 +9201,10 @@ paths:
workspace_id:
type: string
filters:
$ref: "#/components/schemas/FilterSchema"
$ref: "#/components/schemas/GenerationsFilterSchema"
requested_data:
type: array
items:
type: string
$ref: "#/components/schemas/LogExportsRequestedData"
required:
- workspace_id
- filters
- requested_data
responses:
Expand Down Expand Up @@ -16142,14 +16140,17 @@ components:
type: string
format: uuid
filters:
$ref: '#/components/schemas/FilterSchema'
$ref: '#/components/schemas/GenerationsFilterSchema'
requested_data:
type: array
items:
type: string
$ref: '#/components/schemas/LogExportsRequestedData'
status:
type: string
enum: [draft]
enum:
- draft
- in_progress
- success
- failed
- stopped
description:
type: string
created_at:
Expand Down Expand Up @@ -16219,7 +16220,7 @@ components:
description: A pre-signed URL for downloading the exported logs
required:
- signed_url
FilterSchema:
GenerationsFilterSchema:
type: object
properties:
time_of_generation_min:
Expand Down Expand Up @@ -16267,6 +16268,31 @@ components:
workspace_slug:
type: string

LogExportsRequestedData:
type: array
items:
type: string
enum:
- id
- trace_id
- created_at
- request
- response
- is_success
- ai_org
- ai_model
- req_units
- res_units
- total_units
- request_url
- cost
- cost_currency
- response_time
- response_status_code
- mode
- config
- prompt_slug
- metadata

ApiKeyObject:
type: object
Expand Down