curl --request POST \
--url https://api.example.com/api/v1/providers/preview \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"location": "<string>",
"agent_card": {
"capabilities": {
"extensions": [
{
"uri": "<string>",
"description": "<string>",
"params": {},
"required": true
}
],
"pushNotifications": true,
"stateTransitionHistory": true,
"streaming": true
},
"defaultInputModes": [
"<string>"
],
"defaultOutputModes": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"skills": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"examples": [
"I need a recipe for bread"
],
"inputModes": [
"<string>"
],
"outputModes": [
"<string>"
],
"security": [
{
"google": [
"oidc"
]
}
]
}
],
"url": "<string>",
"version": "<string>",
"additionalInterfaces": [
{
"transport": "<string>",
"url": "<string>"
}
],
"documentationUrl": "<string>",
"iconUrl": "<string>",
"preferredTransport": "JSONRPC",
"protocolVersion": "0.3.0",
"provider": {
"organization": "<string>",
"url": "<string>"
},
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"securitySchemes": {},
"signatures": [
{
"protected": "<string>",
"signature": "<string>",
"header": {}
}
],
"supportsAuthenticatedExtendedCard": true
},
"variables": {},
"origin": "<string>",
"auto_stop_timeout_sec": 900
}
'{
"source": "<string>",
"origin": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_card": {
"capabilities": {
"extensions": [
{
"uri": "<string>",
"description": "<string>",
"params": {},
"required": true
}
],
"pushNotifications": true,
"stateTransitionHistory": true,
"streaming": true
},
"defaultInputModes": [
"<string>"
],
"defaultOutputModes": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"skills": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"examples": [
"I need a recipe for bread"
],
"inputModes": [
"<string>"
],
"outputModes": [
"<string>"
],
"security": [
{
"google": [
"oidc"
]
}
]
}
],
"url": "<string>",
"version": "<string>",
"additionalInterfaces": [
{
"transport": "<string>",
"url": "<string>"
}
],
"documentationUrl": "<string>",
"iconUrl": "<string>",
"preferredTransport": "JSONRPC",
"protocolVersion": "0.3.0",
"provider": {
"organization": "<string>",
"url": "<string>"
},
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"securitySchemes": {},
"signatures": [
{
"protected": "<string>",
"signature": "<string>",
"header": {}
}
],
"supportsAuthenticatedExtendedCard": true
},
"state": "missing",
"type": "managed",
"managed": true,
"env": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_stop_timeout": "PT20M",
"version_info": {
"docker": {
"registry": "<string>",
"repository": "<string>",
"tag": "<string>",
"digest": "<string>",
"image_id": "<string>"
},
"github": {
"org": "<string>",
"repo": "<string>",
"version": "<string>",
"version_type": "head",
"commit_hash": "<string>",
"host": "github.com",
"path": "<string>"
}
},
"registry": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z",
"last_error": {
"message": "<string>"
},
"missing_configuration": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The AgentCard is a self-describing manifest for an agent. It provides essential metadata including the agent's identity, capabilities, skills, supported communication methods, and security requirements.
Show child attributes
Show child attributes
A unique origin of the provider: most often a docker or github repository url (without tag). This is used to determine multiple versions of the same agent.
Timeout after which the agent provider will be automatically downscaled if unused.Contact administrator if you need to increase this value.
0 < x <= 1800Successful Response
The AgentCard is a self-describing manifest for an agent. It provides essential metadata including the agent's identity, capabilities, skills, supported communication methods, and security requirements.
Show child attributes
missing, starting, ready, running, error managed, unmanaged Show child attributes
Show child attributes
Show child attributes
Show child attributes
curl --request POST \
--url https://api.example.com/api/v1/providers/preview \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"location": "<string>",
"agent_card": {
"capabilities": {
"extensions": [
{
"uri": "<string>",
"description": "<string>",
"params": {},
"required": true
}
],
"pushNotifications": true,
"stateTransitionHistory": true,
"streaming": true
},
"defaultInputModes": [
"<string>"
],
"defaultOutputModes": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"skills": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"examples": [
"I need a recipe for bread"
],
"inputModes": [
"<string>"
],
"outputModes": [
"<string>"
],
"security": [
{
"google": [
"oidc"
]
}
]
}
],
"url": "<string>",
"version": "<string>",
"additionalInterfaces": [
{
"transport": "<string>",
"url": "<string>"
}
],
"documentationUrl": "<string>",
"iconUrl": "<string>",
"preferredTransport": "JSONRPC",
"protocolVersion": "0.3.0",
"provider": {
"organization": "<string>",
"url": "<string>"
},
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"securitySchemes": {},
"signatures": [
{
"protected": "<string>",
"signature": "<string>",
"header": {}
}
],
"supportsAuthenticatedExtendedCard": true
},
"variables": {},
"origin": "<string>",
"auto_stop_timeout_sec": 900
}
'{
"source": "<string>",
"origin": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_card": {
"capabilities": {
"extensions": [
{
"uri": "<string>",
"description": "<string>",
"params": {},
"required": true
}
],
"pushNotifications": true,
"stateTransitionHistory": true,
"streaming": true
},
"defaultInputModes": [
"<string>"
],
"defaultOutputModes": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"skills": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"examples": [
"I need a recipe for bread"
],
"inputModes": [
"<string>"
],
"outputModes": [
"<string>"
],
"security": [
{
"google": [
"oidc"
]
}
]
}
],
"url": "<string>",
"version": "<string>",
"additionalInterfaces": [
{
"transport": "<string>",
"url": "<string>"
}
],
"documentationUrl": "<string>",
"iconUrl": "<string>",
"preferredTransport": "JSONRPC",
"protocolVersion": "0.3.0",
"provider": {
"organization": "<string>",
"url": "<string>"
},
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"securitySchemes": {},
"signatures": [
{
"protected": "<string>",
"signature": "<string>",
"header": {}
}
],
"supportsAuthenticatedExtendedCard": true
},
"state": "missing",
"type": "managed",
"managed": true,
"env": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_stop_timeout": "PT20M",
"version_info": {
"docker": {
"registry": "<string>",
"repository": "<string>",
"tag": "<string>",
"digest": "<string>",
"image_id": "<string>"
},
"github": {
"org": "<string>",
"repo": "<string>",
"version": "<string>",
"version_type": "head",
"commit_hash": "<string>",
"host": "github.com",
"path": "<string>"
}
},
"registry": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z",
"last_error": {
"message": "<string>"
},
"missing_configuration": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
]
}