providers
Preview Provider
post/api/v1/providers/preview
Request body
Example request
{
"agent_card": {
"additionalInterfaces": [
{
"transport": "JSONRPC",
"url": "https://api.example.com/a2a/v1"
}
],
"description": "Agent that helps users with recipes and cooking.",
"name": "Recipe Agent",
"preferredTransport": "JSONRPC",
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"skills": [
{
"examples": [
"I need a recipe for bread"
],
"security": [
{
"google": [
"oidc"
]
}
],
"tags": [
"cooking",
"customer support",
"billing"
]
}
],
"url": "https://api.example.com/a2a/v1",
"version": "1.0.0"
}
}Response
Successful Response
Example response
{
"agent_card": {
"additionalInterfaces": [
{
"transport": "JSONRPC",
"url": "https://api.example.com/a2a/v1"
}
],
"description": "Agent that helps users with recipes and cooking.",
"name": "Recipe Agent",
"preferredTransport": "JSONRPC",
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"skills": [
{
"examples": [
"I need a recipe for bread"
],
"security": [
{
"google": [
"oidc"
]
}
],
"tags": [
"cooking",
"customer support",
"billing"
]
}
],
"url": "https://api.example.com/a2a/v1",
"version": "1.0.0"
}
}