CreateRegistryRecord
Creates a registry record within a registry. A registry record describes a discoverable resource, such as an MCP server, an agent, an agent skill, or a custom resource. Creation is asynchronous: the record is returned with the CREATING status while it is processed.
Request Syntax
POST /registries/registryId/records HTTP/1.1
Content-type: application/json
{
"clientToken": "string",
"description": "string",
"descriptors": {
"a2aAgentCard": {
"data": "string",
"dataSchemaVersion": "string",
"source": {
"fromUrl": {
"credentialProviderConfigurations": [
{
"credentialProvider": { ... },
"credentialProviderType": "string"
}
],
"url": "string"
}
}
},
"agentSkillsDefinition": {
"additionalData": {
"skillMd": {
"data": "string",
"dataSchemaVersion": "string",
"source": {
"fromUrl": {
"credentialProviderConfigurations": [
{
"credentialProvider": { ... },
"credentialProviderType": "string"
}
],
"url": "string"
}
}
}
},
"data": "string",
"dataSchemaVersion": "string"
},
"agui": {
"source": {
"fromUrl": {
"credentialProviderConfigurations": [
{
"credentialProvider": { ... },
"credentialProviderType": "string"
}
],
"url": "string"
}
}
},
"custom": {
"data": "string"
},
"http": {
"source": {
"fromUrl": {
"credentialProviderConfigurations": [
{
"credentialProvider": { ... },
"credentialProviderType": "string"
}
],
"url": "string"
}
}
},
"mcpServer": {
"additionalData": {
"tools": {
"data": "string",
"dataSchemaVersion": "string"
}
},
"data": "string",
"dataSchemaVersion": "string",
"source": {
"fromUrl": {
"credentialProviderConfigurations": [
{
"credentialProvider": { ... },
"credentialProviderType": "string"
}
],
"url": "string"
}
}
}
},
"displayName": "string",
"name": "string",
"provenance": [
{
"relation": "string",
"sourceDetails": { ... },
"sourceId": "string",
"sourceType": "string"
}
],
"recordType": "string",
"recordVersion": "string",
"tags": {
"string" : "string"
}
}
URI Request Parameters
The request uses the following URI parameters.
- registryId
-
The identifier of the registry in which to create the record (ARN or ID)
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
(arn:aws(-[^:]+)?:agent-registry:[a-z0-9-]+:[0-9]{12}:registry/)?[a-zA-Z0-9]{12,16}Required: Yes