/healthzHealth check
Returns service health for the API container.
Harnesslayer API
Product documentation for the Harnesslayer API. Use v1 to create apps, register uploaded versions, create API and iMessage channels, run responses, manage sessions and profiles, and inspect state, sync, conflict, instance, and history records.
Base URL
https://api.harnesslayer.aiVersion prefix
/v1Apps
Versions
Channels
Responses
Start
Send an API key on every versioned API request. Organization management endpoints use a user API key. All other versioned endpoints use an organization API key. Authorization must be passed in the request headers. API keys are expected to start with dk-.
Authorization: Bearer dk-...Start
API responses use a consistent envelope. Successful responses include success: true and a data object. Failed requests include success: false and an error message.
Success
{
"success": true,
"data": {}
}Error
{
"success": false,
"error": "message"
}Start
List endpoints commonly support these query parameters.
| Field | Location | Required | Description |
|---|---|---|---|
| page | query | no | Page number. Defaults to 1. |
| pageSize | query | no | Page size. Defaults to 10. |
Start
Health checks do not require bearer authentication and can be used by uptime checks or container probes.
/healthzReturns service health for the API container.
Start
Use the Python SDK for this flow when possible. If REST is required, create an app, publish a version from a zip bundle, create a channel, run a response with a custom session id, and poll the response stream until the session ends.
Create app
Publish version
Create channel
Run response
Poll events
Contents