GET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs

Servers

Path parameters

Name Type Required Description
gateway_id String Yes
account_id String Yes

Query parameters

Name Type Required Description
provider String No
max_total_tokens Number No
request_content_type String No
max_tokens_out Number No
success Boolean No
order_by String No

Possible values:

  • "provider"
  • "model"
  • "cached"
  • "success"
  • "model_type"
  • "created_at"

Default value: "created_at"

max_tokens_in Number No
order_by_direction String No

Possible values:

  • "desc"
  • "asc"

Default value: "desc"

direction String No

Possible values:

  • "desc"
  • "asc"
start_date String No
end_date String No
min_tokens_out Number No
min_tokens_in Number No
response_content_type String No
filters[] Array No
meta_info Boolean No
cached Boolean No
min_cost Number No
min_total_tokens Number No
max_duration Number No
search String No
model String No
feedback No
page Integer No

Default value: 1

per_page Integer No

Default value: 20

max_cost Number No
model_type String No
min_duration Number No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.