Skip to main content

Chat Completions

Image Analysis

Video Analysis

Structured Outputs

Document Analysis

Agent Execution

Pass optional skills in config.

Execution Mode

execution_mode reports whether the server replayed a skill’s cached pipeline.py or ran the full LLM agent loop. See program execution.
The Node.js SDK cannot select the mode yet. AgentExecutionConfig serializes only:
  • prompt
  • jsonSchema
  • skills
  • serviceTier
  • orchestrationMode
A mode key is dropped before the request is sent. Use the Python SDK or a raw cURL request to force a mode.

SDK Reference

client.agent.execute()

Parameters: Returns: Promise<AgentExecutionResponse> with execution_mode set to the path taken.

client.agent.completions.create()

Parameters: Returns: Promise<ChatCompletionResponse>

Message Content Types