Create an AI Gateway Agent
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a new agent for the AI Gateway.
Request body
Example request
{
"display_name": "Kong Air Flight Booking Agent",
"name": "my-entity-name",
"enabled": true,
"type": "a2a",
"access": {
"identity_providers": [
"okta-ai-se"
],
"auth_strategies": [
"okta-ai-se"
]
},
"config": {
"url": "https://booking-agent.internal.kongair.com",
"upstream": {
"auth": {
"type": "aws",
"region": "us-east-1",
"access_key_id": "AKIAIOSFODNN7EXAMPLE"
}
},
"route": {
"headers": {
"version": [
"v1",
"v2"
]
},
"hosts": [
"foo.example.com"
]
},
"logging": {
"max_payload_size": 524288
}
},
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
}
}Response
AI Agent created successfully.
Example response
{
"display_name": "Kong Air Flight Booking Agent",
"name": "my-entity-name",
"enabled": true,
"type": "a2a",
"access": {
"identity_providers": [
"okta-ai-se"
],
"auth_strategies": [
"okta-ai-se"
]
},
"config": {
"url": "https://booking-agent.internal.kongair.com",
"upstream": {
"auth": {
"type": "aws",
"region": "us-east-1",
"access_key_id": "AKIAIOSFODNN7EXAMPLE"
}
},
"route": {
"headers": {
"version": [
"v1",
"v2"
]
},
"hosts": [
"foo.example.com"
]
},
"logging": {
"max_payload_size": 524288
}
},
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
Changed in 2 of the 30 revisions of this API.87
- ●
the
//request property's max was set to2147483646.00request-property-max-set
- ●
the
/request property's max was set to2147483646.00request-property-max-set
- ●
the
//request property's max was set to599.00request-property-max-set
- ●
the
//request property's max was set to2147483647.00request-property-max-set
- ●
the
//request property's min was set to0.00request-property-min-set
- ●
the
/request property's min was set to0.00request-property-min-set
- ●
the
//request property's min was set to100.00request-property-min-set
- ●
the
//request property's min was set to-2147483648.00request-property-min-set
- ○
added the new optional request property
/new-optional-request-property
- ○
request property
/deprecatedrequest-property-deprecated
- ○
request property
//deprecatedrequest-property-deprecated
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
response property
access/identity_providersdeprecatedresponse-property-deprecated
- ○
response property
access/identity_providers/items/deprecatedresponse-property-deprecated
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○