Functions

List runs

GET /v1/functions/{id}/runs
Permission
read:functions
Tokens
API key, CLI user token

List the runs of a function, newest first. Page with limit and cursor.

Path parameters

idstringrequired

Query parameters

limitdefault 50integer
cursorstring

The `next_cursor` of the previous page.

user_idstring

A user id (see GET /v1/users). Keeps only runs that user started.

{
"has_more": bool,
"next_cursor": str,
}

Response

has_moredefault falseboolean

Whether more results exist past this page.

next_cursorstring

Pass as `cursor` to fetch the next page. Null on the last page. Opaque , echo it back rather than parsing it.

runsarray<FunctionRun>required

Runs on this page.

On this page

No Headings
Schedule a demo
For HumansFor Agents