HydraCore
API by router

Smoke

Smoke Poll

GET
/internal/v1/smoke/instances/by-key/{idempotency_key}

Path Parameters

idempotency_key*Idempotency Key

Header Parameters

authorization?string|null

Response Body

Successful Response

application/json
  1. response
found*Found
instance_id?string|null
status?string|null
Example Request
curl -X GET 'https://example.com/internal/v1/smoke/instances/by-key/string'
Example Response
{  "found": true,  "instance_id": "string",  "status": "string"}

Smoke Status

GET
/internal/v1/smoke/instances/{instance_id}

Path Parameters

instance_id*Instance Id
Formatuuid

Header Parameters

authorization?string|null

Response Body

Successful Response

application/json
  1. response
hostname?string|null
id*Id
status*Status
Example Request
curl -X GET 'https://example.com/internal/v1/smoke/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "hostname": "string",  "id": "string",  "status": "string"}

Smoke Delete

DELETE
/internal/v1/smoke/instances/{instance_id}

Path Parameters

instance_id*Instance Id
Formatuuid

Header Parameters

authorization?string|null

Response Body

Successful Response

application/json
  1. response
instance_id*Instance Id
status*Status
Example Request
curl -X DELETE 'https://example.com/internal/v1/smoke/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "instance_id": "string",  "status": "string"}

Smoke Chat

POST
/internal/v1/smoke/instances/{instance_id}/chat

Path Parameters

instance_id*Instance Id
Formatuuid

Header Parameters

authorization?string|null

Request Body

application/json
  1. body
message*Message
Lengthlength <= 4000

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X POST 'https://example.com/internal/v1/smoke/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat' \  -H 'Content-Type: application/json' \  -d '{  "message": "string"}'
Example Response
null

Smoke Llm Events

GET
/internal/v1/smoke/instances/{instance_id}/llm-events

Path Parameters

instance_id*Instance Id
Formatuuid

Query Parameters

window_seconds?Window Seconds
Default900

Header Parameters

authorization?string|null

Response Body

Successful Response

application/json
  1. response
count*Count
instance_id*Instance Id
providers*array<string>
window_seconds*Window Seconds
Example Request
curl -X GET 'https://example.com/internal/v1/smoke/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/llm-events'
Example Response
{  "count": 0,  "instance_id": "string",  "providers": [    "string"  ],  "window_seconds": 0}

Smoke Provision

POST
/internal/v1/smoke/provision

Header Parameters

authorization?string|null

Request Body

application/json
  1. body
agent_name?|null
idempotency_key*Idempotency Key
Lengthlength <= 255
manifest_id*Manifest Id
Lengthlength <= 100
region_id*Region Id
Lengthlength <= 80
tier_id*Tier Id
Lengthlength <= 80

Response Body

Successful Response

application/json
  1. response
idempotency_key*Idempotency Key
instance_id?string|null
task_id*Task Id
Example Request
curl -X POST 'https://example.com/internal/v1/smoke/provision' \  -H 'Content-Type: application/json' \  -d '{  "idempotency_key": "string",  "manifest_id": "string",  "region_id": "string",  "tier_id": "string"}'
Example Response
{  "idempotency_key": "string",  "instance_id": "string",  "task_id": "string"}