Skip to main content
POST
Search the AI call log

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

pid
string
required

Project id (UUID) belonging to the caller workspace.

Body

application/json

All filters optional and ANDed.

q
string

Case-insensitive substring of the instructions, input or output.

status
enum<string>
Available options:
ok,
error,
quota_exceeded
source_kind
enum<string>
Available options:
trigger,
workflow,
agent
source_id
string
instance_id
string
model
string
since
string

ISO 8601 timestamp; matches created_at >= since.

until
string

ISO 8601 timestamp; matches created_at <= until.

limit
integer
default:25
Required range: 1 <= x <= 200
offset
integer
default:0
Required range: x >= 0

Response

One page of AI calls, newest first.

entity
string
required
Allowed value: "ai_calls"
count
integer
required
total
integer
required
limit
integer
required
offset
integer
required
results
object[]
required