Developer API
This section documents the Kitemesh API for integrations built from a client, a service, or another external application.
Typical use cases
Use this API to:
- send chat requests from an external application
- consume responses in standard or streaming mode
- resume an execution after a tool approval step
- manage secrets, tools, API resources, files, custom models, and group models when the token has the right capabilities
Covered endpoints
POST /v1/chat/completionsPOST /v1/chat/resume- management endpoints under
/v1/secrets,/v1/tools,/v1/api-resources,/v1/files,/v1/custom-models, and/v1/group-models
Before integrating
The integration usually needs:
- an active
API Tokencreated in Kitemesh - a target identifier in the format
group:<uuid>orcustom:<uuid> - a client that can handle JSON and, when needed, SSE streaming
Recommended reading order
- Read Authentication.
- Continue with Conventions.
- Integrate
POST /v1/chat/completions. - Add support for
POST /v1/chat/resumeif tools can require approval. - Use the Management API only for integrations that need configuration changes.