Nebula Agent chat completions
/chat/completions
Stateless Nebula Agent inference over Nebula's market intelligence layer. Pass a messages array; the latest user message is answered and up to six preceding messages are used as caller-managed conversation context. Set stream=true for OpenAI-style SSE text deltas. thinking_mode is optional and defaults to auto; use deep for deeper reasoning.
Parameters
No parameters for this endpoint.
cURL Example
curl --request POST \
--url 'https://nebula-api.hiddensystems.ai/api/v1/public/chat/completions' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"content": "What narratives are heating up around Solana?",
"role": "user"
}
],
"stream": true,
"thinking_mode": "auto"
}'
Responses
OK. When stream=true, the response is text/event-stream with OpenAI-style chat.completion.chunk data frames.
Media type application/json
choices
array<object>
No description provided.
choices
No description provided.
choices[].delta
object
No description provided.
choices[].delta
No description provided.
choices[].delta.content
No description provided.
choices[].delta.role
No description provided.
choices[].finish_reason
No description provided.
choices[].index
No description provided.
choices[].message
object
No description provided.
choices[].message
No description provided.
choices[].message.content
No description provided.
choices[].message.role
No description provided.
created
No description provided.
id
No description provided.
model
No description provided.
object
No description provided.
usage
object
No description provided.
usage
No description provided.
usage.credits_used
No description provided.
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "Solana attention is being driven by renewed DEX volume, app-token speculation, and smart-money accumulation in adjacent ecosystem names.",
"role": "assistant"
}
}
],
"created": 1780934400,
"id": "chatcmpl_example",
"model": "nebula-agent",
"object": "chat.completion",
"usage": {
"credits_used": 42
}
}