Containers
Container management endpoints.
List containers owned by the authenticated project.
API key in Authorization header using Bearer .
200Successful Response
Object type identifier.
listTotal number of items available for this resource.
Bad Request
Unauthorized
Forbidden
Validation Error
Too Many Requests
Internal Server Error
Not Implemented
Upstream Unavailable
GET /v1/containers HTTP/1.1
Host: platform.maniac.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "list",
"data": [
{
"id": "text",
"object": "container",
"project_id": "text",
"org_id": "text",
"user_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"label": "text",
"api": "chat.completions",
"best_model_id": "text",
"default_system_prompt": "text",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"optimized_system_prompt": "text",
"system_prompt_prefix": "text",
"optimized_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"optimized_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"initial_model": "text",
"deleted_at": false
}
],
"total": 0
}Create a new container. Containers represent one task in your codebase. Each container utilizes separate models, routing, and evaluations, and collects data separately.
API key in Authorization header using Bearer .
Container label.
Initial model slug.
API type.
chat.completionsPossible values: Default system prompt.
Successful Response
Container id.
Object type.
containerOrganization id.
Creation timestamp.
Container label.
API type.
chat.completionsPossible values: Default system prompt.
Optimized system prompt.
GEPA-optimized prefix prepended to every request's system prompt.
Initial model slug.
Soft delete flag.
falseBad Request
Unauthorized
Forbidden
Not Found
Conflict
Validation Error
Too Many Requests
Internal Server Error
Not Implemented
Upstream Unavailable
POST /v1/containers HTTP/1.1
Host: platform.maniac.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1414
{
"label": "text",
"initial_model": "text",
"api": "chat.completions",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_system_prompt": "text"
}{
"id": "text",
"object": "container",
"org_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"label": "text",
"api": "chat.completions",
"default_system_prompt": "text",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"optimized_system_prompt": "text",
"system_prompt_prefix": "text",
"optimized_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"optimized_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"initial_model": "text",
"deleted_at": false
}Fetch a single container by label within the authenticated project.
API key in Authorization header using Bearer .
Successful Response
Container id.
Object type.
containerOrganization id.
Creation timestamp.
Container label.
API type.
chat.completionsPossible values: Default system prompt.
Optimized system prompt.
GEPA-optimized prefix prepended to every request's system prompt.
Initial model slug.
Soft delete flag.
falseBad Request
Unauthorized
Forbidden
Not Found
Conflict
Validation Error
Too Many Requests
Internal Server Error
Not Implemented
Upstream Unavailable
GET /v1/containers/{label} HTTP/1.1
Host: platform.maniac.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"object": "container",
"org_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"label": "text",
"api": "chat.completions",
"default_system_prompt": "text",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"optimized_system_prompt": "text",
"system_prompt_prefix": "text",
"optimized_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"optimized_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"initial_model": "text",
"deleted_at": false
}Soft-delete a container by label within the authenticated project.
API key in Authorization header using Bearer .
Successful Response
Object type.
containerContainer label.
Deletion status.
trueBad Request
Unauthorized
Forbidden
Not Found
Conflict
Validation Error
Too Many Requests
Internal Server Error
Not Implemented
Upstream Unavailable
DELETE /v1/containers/{label} HTTP/1.1
Host: platform.maniac.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "container",
"label": "text",
"deleted": true
}Update container defaults by label within the authenticated project.
API key in Authorization header using Bearer .
Patchable fields for a container.
Updated system prompt.
Updated default model id or slug.
file_abc123Successful Response
Container id.
Object type.
containerOrganization id.
Creation timestamp.
Container label.
API type.
chat.completionsPossible values: Default system prompt.
Optimized system prompt.
GEPA-optimized prefix prepended to every request's system prompt.
Initial model slug.
Soft delete flag.
falseBad Request
Unauthorized
Forbidden
Not Found
Conflict
Validation Error
Too Many Requests
Internal Server Error
Not Implemented
Upstream Unavailable
PATCH /v1/containers/{label} HTTP/1.1
Host: platform.maniac.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1381
{
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_system_prompt": "text",
"default_model": "file_abc123"
}{
"id": "text",
"object": "container",
"org_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"label": "text",
"api": "chat.completions",
"default_system_prompt": "text",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"optimized_system_prompt": "text",
"system_prompt_prefix": "text",
"optimized_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"optimized_few_shot_messages": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"initial_model": "text",
"deleted_at": false
}Attach a model to a container as a submodel with optional defaults.
API key in Authorization header using Bearer .
Model slug or id to add.
Container id or label.
User specified submodel slug.
Default system prompt.
Successful Response
Object type.
modelModel id.
Container id.
Submodel slug.
Container label.
Default system prompt.
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Validation Error
Too Many Requests
Internal Server Error
Not Implemented
Upstream Unavailable
POST /v1/models HTTP/1.1
Host: platform.maniac.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1399
{
"model": "text",
"container": "text",
"slug": "text",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_system_prompt": "text"
}{
"object": "model",
"id": "text",
"container_id": "text",
"slug": "text",
"container": "text",
"default_parameters": {
"provider": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"plugins": [],
"route": "text",
"session_id": "text",
"frequency_penalty": 1,
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"max_completion_tokens": 1,
"max_tokens": 1,
"n": 1,
"presence_penalty": 1,
"reasoning": {
"effort": "none",
"max_tokens": 1,
"exclude": true,
"enabled": true
},
"response_format": {
"type": "text"
},
"seed": 1,
"service_tier": "auto",
"stop": "text",
"temperature": 1,
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"name": "text",
"description": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"strict": true
}
}
],
"parallel_tool_calls": true,
"top_p": 1,
"top_k": 1,
"min_p": 1,
"top_a": 1,
"repetition_penalty": 1,
"image_config": {
"quality": "auto",
"size": "auto",
"background": "auto",
"output_format": "png",
"output_compression": 1,
"moderation": "auto",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"modalities": [
"text"
],
"audio": {
"voice": "alloy",
"format": "wav",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"prediction": {
"type": "content",
"content": "text"
},
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"country": "text",
"region": "text",
"city": "text",
"timezone": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"transforms": [
"text"
],
"preset": "text",
"bad_words": [
"text"
]
},
"default_system_prompt": "text"
}Last updated