API reference, AI
AI job stream
A Femtos AI job of your account as it runs: the answer as it is written, each data call, then the answer.
- No data on Elysium yet: a job of your own account: POST /v1/ai/jobs first
- No data on HyperCore yet: a job of your own account: POST /v1/ai/jobs first
WebSocket channel ai.job on wss://api.femtos.xyz/v1/ws
Parameters
| Param | In | Example or values | Meaning |
|---|---|---|---|
id | filter | (optional) | A job id of your account (POST /v1/ai/jobs) |
Subscribe
Elysium, HyperCore
{"op":"subscribe","channel":"ai.job","filter":{}}Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.
Response fields
| Field | Type | Meaning |
|---|---|---|
snapshot: true | AiJob | the job as it is at subscribe (GET /v1/ai/jobs/{id}) |
data | AiJobEvent | each event of the job until its end: delta (text), tool (a data call), then done or failed: {type, content, tool, args, ok, request, result, error} |
Related: AI
- AI models and prices GET /v1/ai/models Elysium, HyperCore
The models Femtos AI answers with, and the USD price per million tokens of each (OpenRouter's x 1.25).
More
- This page as Markdown
- The whole API reference
- What Elysium serves
- What HyperCore serves
- The whole API in one Markdown file
- OpenAPI 3.1 document
Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog