Skip to main content

kobana inbox agent-runs

Commands of kobana inbox agent-runs. Every global option (Global options) applies here.

CommandHTTPDescription
agent-runs listGET /v1/agent-runsList agent runs
agent-runs getGET /v1/agent-runs/{id}Get agent run

agent-runs list​

List agent runs

kobana inbox agent-runs list [OPTIONS]

GET /v1/agent-runs

Keyset-paginated. Filters are typed query params (field=value, field[op]=value); unknown filters, unsortable fields and malformed values are rejected with 400 VALIDATION_ERROR.

Query parameters

NameTypeRequiredDescription
limitintegerno
cursorstringnoOpaque cursor returned in meta.next_cursor of the previous page.
sort_bystringnoField to order by. Allowed: created_at, updated_at, total_cost, status. Without it the order is created_at descending. Values: created_at, updated_at, total_cost, status.
sort_orderstringnoasc (default) or desc. Needs sort_by. Values: asc, desc.
statusstringnoEquality. Also status[in]=a,b. Values: running, success, failed.
agent_idstringnoEquality. Also agent_id[in]=a,b.
email_idstringnoEquality. Also email_id[in]=a,b.
inbox_idstringnoEquality. Also inbox_id[in]=a,b.
llm_modelstringnoEquality. Also llm_model[in]=a,b.
created_atstringnoEquality. Also created_at[in]=a,b and created_at[gt|gte|lt|lte].
created_at[gte]stringno
created_at[lte]stringno
finished_atstringnoEquality. Also finished_at[in]=a,b and finished_at[gt|gte|lt|lte].
finished_at[gte]stringno
finished_at[lte]stringno
total_costnumbernoEquality. Also total_cost[in]=a,b and total_cost[gt|gte|lt|lte].
total_cost[gte]numberno
total_cost[lte]numberno

Headers

NameTypeRequiredDescription
x-origin-shared-secretstringnoShared secret between CloudFront and the origin. Required in production; ignored in development unless CF_ORIGIN_SHARED_SECRET is set.

Responses

HTTPDescription
200Page of results.
400Body failed Zod validation. error.details carries formErrors/fieldErrors.
404Resource not found or filtered out by soft-delete.

agent-runs get​

Get agent run

kobana inbox agent-runs get [ID] [OPTIONS]

GET /v1/agent-runs/{id}

Path arguments: id

Headers

NameTypeRequiredDescription
x-origin-shared-secretstringnoShared secret between CloudFront and the origin. Required in production; ignored in development unless CF_ORIGIN_SHARED_SECRET is set.

Responses

HTTPDescription
200Success.
404Resource not found or filtered out by soft-delete.