/functionsList Functions
Returns the cursor-paginated function registry for the specified project.
Supports filters on source, tier, and status.
Each entry includes name, runtime, tier, status, version, source, description, created_at, deployed_at, and error_detail.
Requires PROJECT_ADMIN minimum.
| module | query | Return only the operations of this module, named |
| source | query | Return only functions with this |
| tier | query | Return only functions that run on this tier. |
| status | query | Return only functions in this state. Omit it for every state, retired included. |
| cursor | query |
Omit it for the first page. |
| limit | query | How many functions to return, 1 to 100. Default 50. |
| projectSlug * | path | The project's slug: the path segment after It is unique within the org. |
| HTTP | K9O Code | Description |
|---|---|---|
| 200 | Success | |
| 400 | K9O_INVALID_FILTER | The filter expression supplied is malformed or references an invalid field. |
| 401 | K9O_INVALID_CREDENTIALS | The request credentials are missing or invalid. |
| 401 | K9O_SESSION_EXPIRED | Your session has expired; sign in again to continue. |
| 403 | K9O_ACCESS_DENIED | Your role does not grant access to list functions for this project. |
| data * | object[] | The project's functions, newest first, retired ones included unless When more match, |
| id * | string <uuid> | The function's id, a UUID. It stays the same across redeploys. |
| name * | string | The function's name. A module's operations are named |
| runtime * | "bun" | "rust" | "go" | "tinygo" | "zig" | "assemblyscript" | "c" | "cpp" | The language runtime: |
| tier * | "gateway" | "sandbox" | Where the function runs: |
| entryPoint * | string | The artifact key of the deployed code. |
| version * | string | The version label of the deploy. |
| status * | "deploying" | "active" | "error" | "retired" |
|
| source * | string | Who manages the function: |
| description * | any | What the function does. Null when none was given. |
| One of: string | ||
| or: null | ||
| createdAt * | string <date-time> | When the function was first deployed. |
| deployedAt * | any | When the current deploy became active. Null while it is deploying. |
| One of: string <date-time> | ||
| or: null | ||
| retiredAt * | any | When the function was retired. Null unless |
| One of: string <date-time> | ||
| or: null | ||
| errorDetail * | any | Why the deploy failed. Null unless |
| One of: string | ||
| or: null | ||
| meta * | any | |
// const k9o = new K9o({ orgSlug: 'playground', projectSlug: 'storefront', apiKey: 'k9o_…' })
const { data } = await k9o.functions.list()Showing example in TypeScript
{
"data": [
{
"id": "string",
"name": "string",
"runtime": "bun",
"tier": "gateway",
"entryPoint": "string",
"version": "string",
"status": "deploying",
"source": "string",
"description": "string",
"createdAt": "string",
"deployedAt": "string",
"retiredAt": "string",
"errorDetail": "string"
}
]
}