agents
Chat Completions Openai
OpenAI-compatible chat completions endpoint.
Use this endpoint to integrate with any OpenAI-compatible client.
Example with OpenAI Python client:
from openai import OpenAI
client = OpenAI(
api_key="your-agent-api-key",
base_url="https://studio-api.meganova.ai/api/agents/v1/your-agent-api-key"
)
response = client.chat.completions.create(
model="agent",
messages=[{"role": "user", "content": "Hello!"}]
)
post/agents/v1/{api_key}/chat/completions
Request
- Base URLhttps://studio-api.meganova.ai (the document declares no server; this is the origin it was published from)
- URLhttps://studio-api.meganova.ai/agents/v1/{api_key}/chat/completions
- Authnone declared
Path parameters
api_keystring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.