Skip to main content

Schemas

Pagination​

{
"total": 42,
"limit": 20,
"offset": 0
}

Standard pagination metadata returned with collection responses.

Properties​

NameTypeRequiredRestrictionsDescription
totalintegertruenoneTotal number of records matching the query.
limitintegertruenoneMaximum number of records returned in this response.
offsetintegertruenoneNumber of records skipped before this page.

MessageResponse​

{
"message": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
messagestringtruenonenone

GenericValue​

{}

Properties​

oneOf

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
anonymous[any]falsenonenone

xor

NameTypeRequiredRestrictionsDescription
anonymousstringfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
anonymousnumberfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
anonymousbooleanfalsenonenone

GenericObject​

{}

Properties​

None

ErrorResponse​

{
"status": "error",
"code": "ORG_NOT_FOUND",
"message": "string",
"errors": [
{
"field": "string",
"message": "string"
}
]
}

Properties​

NameTypeRequiredRestrictionsDescription
statusstringtruenoneAlways "error" for error responses.
codestringtruenoneMachine-readable SCREAMING_SNAKE_CASE catalog code.
messagestringtruenoneHuman-readable error message.
errors[object]falsenoneOptional per-field validation errors.
» fieldstringtruenonenone
» messagestringtruenonenone
Enumerated Values​
PropertyValue
statuserror

OrganizationResponse​

{
"id": "acme",
"displayName": "Acme Corporation",
"businessOwner": "string",
"businessOwnerContact": "string",
"businessOwnerEmail": "[email protected]",
"idpRefId": "string",
"cpRefId": "string",
"configuration": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe organization's handle (unique). Not the internal database uuid.
displayNamestringfalsenonenone
businessOwnerstring¦nullfalsenonenone
businessOwnerContactstring¦nullfalsenonenone
businessOwnerEmailstring(email)¦nullfalsenonenone
idpRefIdstringfalsenoneThe organization claim value asserted by the configured identity provider (IDP) at single sign-on (SSO) login. On every login, the portal matches the authenticated user's org claim against this value to resolve which organization they belong to — it must exactly match the IDP's claim, or login fails for that org's users. Distinct from cpRefId, which is unrelated to authentication.
cpRefIdstring¦nullfalsenoneControl Plane reference ID. Included in outbound webhook event payloads so subscribers can correlate this organization with its Control Plane (Platform API) counterpart. Not used for authentication or org resolution.
configurationobjectfalsenoneFree-form organization configuration set by the caller. Which artifact types the portal serves is operator configuration (api_portal.artifacts), not part of this.
createdAtstring(date-time)¦nullfalsenonenone
updatedAtstring(date-time)¦nullfalsenonenone

OrganizationContentUploadResponse​

{
"id": "string",
"fileName": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringtruenonenone
fileNamestringtruenoneOriginal ZIP file name uploaded in the file multipart field.

OrganizationContentListItemResponse​

{
"id": "string",
"fileName": "string",
"fileContent": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone
fileNamestringfalsenonenone
fileContentstring¦nullfalsenoneUTF-8 content string returned for stored organization content records.

ApiMetadataCreateResponse​

{
"name": "string",
"title": "string",
"remotes": [
{}
],
"version": "string",
"status": "PUBLISHED",
"description": "string",
"type": "RestApi",
"referenceId": "string",
"agentVisibility": "VISIBLE",
"addedLabels": [
"string"
],
"removedLabels": [
"string"
],
"owners": {
"technicalOwner": "string",
"businessOwner": "string",
"businessOwnerEmail": "string",
"technicalOwnerEmail": "string"
},
"apiImageMetadata": {
"property1": "string",
"property2": "string"
},
"tags": [
"string"
],
"labels": [
"string"
],
"id": "string",
"refId": "string",
"endPoints": {
"sandboxURL": "string",
"productionURL": "string"
},
"subscriptionPlans": [
{
"id": "string",
"displayName": "string",
"description": "string",
"limits": [
{
"limitType": "REQUEST_COUNT",
"limitCount": 10000,
"timeUnit": "MINUTE",
"timeAmount": 1
}
],
"refId": "string",
"orgId": "string",
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}

Properties​

allOf

NameTypeRequiredRestrictionsDescription
anonymousApiInfoResponsefalsenoneFields are returned at the root of ApiMetadataResponse / ApiMetadataCreateResponse (not nested under an apiInfo key) — this schema exists only to share the field set between the two via allOf.

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» idstringfalsenoneThe API's handle (unique per org). Not the internal database uuid.
» refIdstring¦nullfalsenonePlatform API (Control Plane) reference ID for this API. Used for MCP registry visibility filtering and included in outbound webhook event payloads. Null/absent for APIs that exist only in the API Portal and are not registered with the Platform API — e.g. MCP servers published via the registry.
» endPointsApiEndpointsResponsefalsenonenone
» subscriptionPlans[SubscriptionPlanResponse]falsenonenone

ApiMetadataResponse​

{
"name": "string",
"title": "string",
"remotes": [
{}
],
"version": "string",
"status": "PUBLISHED",
"description": "string",
"type": "RestApi",
"referenceId": "string",
"agentVisibility": "VISIBLE",
"addedLabels": [
"string"
],
"removedLabels": [
"string"
],
"owners": {
"technicalOwner": "string",
"businessOwner": "string",
"businessOwnerEmail": "string",
"technicalOwnerEmail": "string"
},
"apiImageMetadata": {
"property1": "string",
"property2": "string"
},
"tags": [
"string"
],
"labels": [
"string"
],
"id": "string",
"refId": "string",
"dataSource": "string",
"planId": "string",
"endPoints": {
"sandboxURL": "string",
"productionURL": "string"
},
"subscriptionPlans": [
{
"id": "string",
"displayName": "string",
"description": "string",
"limits": [
{
"limitType": "REQUEST_COUNT",
"limitCount": 10000,
"timeUnit": "MINUTE",
"timeAmount": 1
}
],
"refId": "string",
"orgId": "string",
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2026-05-07T08:30:00Z",
"updatedAt": "2026-05-07T08:30:00Z"
}

Properties​

allOf

NameTypeRequiredRestrictionsDescription
anonymousApiInfoResponsefalsenoneFields are returned at the root of ApiMetadataResponse / ApiMetadataCreateResponse (not nested under an apiInfo key) — this schema exists only to share the field set between the two via allOf.

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» idstringfalsenoneThe API's handle (unique per org). Not the internal database uuid.
» refIdstring¦nullfalsenonePlatform API (Control Plane) reference ID for this API. Used for MCP registry visibility filtering and included in outbound webhook event payloads. Null/absent for APIs that exist only in the API Portal and are not registered with the Platform API — e.g. MCP servers published via the registry.
» dataSourcestring¦nullfalsenoneIndicates which content matched the search term: METADATA if the match was in the API's own metadata, or a content type (e.g. a value from the API Content type field) if the match was inside an uploaded content file. Only computed by getAllApiMetadataForOrganization when both the query search parameter is supplied and the database is PostgreSQL — absent on SQLite (the dev default) and absent from every other operation (get/create/update single API).
» planIdstringfalsenonenone
» endPointsApiEndpointsResponsefalsenonenone
» subscriptionPlans[SubscriptionPlanResponse]falsenonenone
» createdBystringfalsenoneIdentity of the user who created this API, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
» updatedBystringfalsenoneIdentity of the user who last updated this API, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
» createdAtstring(date-time)falsenonenone
» updatedAtstring(date-time)falsenonenone

ApiInfoResponse​

{
"name": "string",
"title": "string",
"remotes": [
{}
],
"version": "string",
"status": "PUBLISHED",
"description": "string",
"type": "RestApi",
"referenceId": "string",
"agentVisibility": "VISIBLE",
"addedLabels": [
"string"
],
"removedLabels": [
"string"
],
"owners": {
"technicalOwner": "string",
"businessOwner": "string",
"businessOwnerEmail": "string",
"technicalOwnerEmail": "string"
},
"apiImageMetadata": {
"property1": "string",
"property2": "string"
},
"tags": [
"string"
],
"labels": [
"string"
]
}

Fields are returned at the root of ApiMetadataResponse / ApiMetadataCreateResponse (not nested under an apiInfo key) — this schema exists only to share the field set between the two via allOf.

Properties​

NameTypeRequiredRestrictionsDescription
namestringfalsenonenone
titlestring¦nullfalsenonenone
remotes[object]falsenonenone
versionstringfalsenonenone
statusstringfalsenoneAPI lifecycle status.
descriptionstringfalsenonenone
typestringfalsenoneThe stored/returned type constant (src/utils/constants.js API_TYPE) — distinct from the request-time keyword accepted on create/update (see type in ApiMetadataMultipartBody: REST, SOAP, MCP, WS, WEBSUB, GRAPHQL). REST maps to RestApi and WEBSUB maps to WebSubApi; the rest are returned unchanged.
referenceIdstring¦nullfalsenoneExternal reference ID. Present when the API was created from a YAML artifact whose spec block sets referenceId — the create response echoes the parsed YAML back.
agentVisibilitystringfalsenonenone
addedLabels[string]falsenonenone
removedLabels[string]falsenonenone
ownersApiOwnersResponsefalsenonenone
apiImageMetadataApiImageMetadataResponsefalsenonenone
tags[string]falsenonenone
labels[string]falsenonenone
Enumerated Values​
PropertyValue
statusPUBLISHED
statusDEPRECATED
typeRestApi
typeSOAP
typeMcp
typeWS
typeWebSubApi
typeGRAPHQL
agentVisibilityVISIBLE
agentVisibilityHIDDEN

ApiOwnersResponse​

{
"technicalOwner": "string",
"businessOwner": "string",
"businessOwnerEmail": "string",
"technicalOwnerEmail": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
technicalOwnerstringfalsenonenone
businessOwnerstringfalsenonenone
businessOwnerEmailstringfalsenonenone
technicalOwnerEmailstringfalsenonenone

ApiEndpointsResponse​

{
"sandboxURL": "string",
"productionURL": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
sandboxURLstringfalsenonenone
productionURLstringfalsenonenone

ApiImageMetadataResponse​

{
"property1": "string",
"property2": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
additionalPropertiesstringfalsenonenone

SubscriptionPlanResponse​

{
"id": "string",
"displayName": "string",
"description": "string",
"limits": [
{
"limitType": "REQUEST_COUNT",
"limitCount": 10000,
"timeUnit": "MINUTE",
"timeAmount": 1
}
],
"refId": "string",
"orgId": "string",
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe plan's handle (unique per org). Not the internal database uuid.
displayNamestringfalsenonenone
descriptionstringfalsenonenone
limits[object]falsenoneRate/quota limits enforced for this plan. Empty when the plan is unlimited.
» limitTypestringfalsenonenone
» limitCountanyfalsenoneReturned as a string when the stored count exceeds the safe integer range, otherwise a number. Unlimited plans have no limit entries — the limits array is empty.

oneOf

NameTypeRequiredRestrictionsDescription
»» anonymousintegerfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
»» anonymousstringfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
» timeUnitstring¦nullfalsenonenone
» timeAmountintegerfalsenonenone
refIdstring¦nullfalsenonePlatform API subscription plan UUID associated with this plan.
orgIdstringfalsenonenone
createdBystringfalsenoneIdentity of the user who created this subscription plan, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
updatedBystringfalsenoneIdentity of the user who last updated this subscription plan, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
createdAtstring(date-time)falsenonenone
updatedAtstring(date-time)falsenonenone
Enumerated Values​
PropertyValue
limitTypeREQUEST_COUNT
limitTypeEVENT_COUNT
limitTypeBANDWIDTH
limitTypeTOTAL_TOKEN_COUNT
timeUnitMINUTE
timeUnitHOUR
timeUnitDAY
timeUnitMONTH
timeUnitnull

LabelResponse​

{
"id": "premium",
"displayName": "Premium APIs"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe label's handle (unique per org). Not the internal database uuid.
displayNamestringfalsenonenone

ApplicationResponse​

{
"id": "my-weather-app",
"displayName": "Weather App",
"description": "Application used to call Weather APIs.",
"appKeyMappings": [
{
"asClientId": "asgardeo-client-abc123",
"kmId": "km-uuid-12345",
"type": "PRODUCTION"
}
],
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2026-05-07T08:30:00Z",
"updatedAt": "2026-05-07T08:30:00Z"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe application's handle (unique per org). Not the internal database uuid.
displayNamestringfalsenonenone
descriptionstringfalsenonenone
appKeyMappings[ApplicationKeyMappingSummary]falsenone[OAuth client ID mapping entry attached to an application.]
createdBystringfalsenoneIdentity of the user who created this application, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
updatedBystringfalsenoneIdentity of the user who last updated this application, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
createdAtstring(date-time)falsenonenone
updatedAtstring(date-time)falsenonenone

ApplicationKeyMappingSummary​

{
"asClientId": "asgardeo-client-abc123",
"kmId": "km-uuid-12345",
"type": "PRODUCTION"
}

OAuth client ID mapping entry attached to an application.

Properties​

NameTypeRequiredRestrictionsDescription
asClientIdstringfalsenoneOAuth client ID, created directly in the key manager and linked to this application.
kmIdstringfalsenoneUUID of the key manager this client ID is linked to.
typestringfalsenoneKey type for this mapping.
Enumerated Values​
PropertyValue
typePRODUCTION
typeSANDBOX

ViewResponse​

{
"id": "partner-apis",
"displayName": "Partner APIs",
"labels": [
"partner",
"public"
],
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringtruenoneThe view's handle (unique per org). Not the internal database uuid.
displayNamestringtruenonenone
labels[string]truenonenone
createdBystringfalsenoneIdentity of the user who created this view, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
updatedBystringfalsenoneIdentity of the user who last updated this view, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
createdAtstring(date-time)falsenonenone
updatedAtstring(date-time)falsenonenone

OrganizationCreateRequest​

{
"displayName": "Acme Corporation",
"businessOwner": "string",
"businessOwnerContact": "string",
"businessOwnerEmail": "[email protected]",
"id": "acme",
"idpRefId": "string",
"cpRefId": "string",
"configuration": {}
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringtruenonenone
businessOwnerstringfalsenonenone
businessOwnerContactstringfalsenonenone
businessOwnerEmailstring(email)falsenonenone
idstringtruenoneDesired handle for the organization (unique), stored as-is. Used in portal URLs.
idpRefIdstringtruenoneThe organization claim value asserted by the configured Identity Provider at SSO login. Must exactly match the IDP's org claim for that org's users, or login will fail. Distinct from cpRefId.
cpRefIdstring¦nullfalsenoneControl Plane reference ID, included in outbound webhook event payloads. Not used for authentication.
configurationobjectfalsenoneFree-form organization configuration.

OrganizationUpdateRequest​

{
"displayName": "Acme Corporation",
"businessOwner": "string",
"businessOwnerContact": "string",
"businessOwnerEmail": "[email protected]",
"id": "acme",
"idpRefId": "string",
"cpRefId": "string",
"configuration": {}
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringtruenonenone
businessOwnerstringfalsenonenone
businessOwnerContactstringfalsenonenone
businessOwnerEmailstring(email)falsenonenone
idstringtruenoneDesired handle for the organization (unique), stored as-is. Used in portal URLs.
idpRefIdstringtruenoneThe organization claim value asserted by the configured Identity Provider at SSO login. Must exactly match the IDP's org claim for that org's users, or login will fail. Distinct from cpRefId.
cpRefIdstring¦nullfalsenoneControl Plane reference ID, included in outbound webhook event payloads. Not used for authentication.
configurationobjectfalsenoneFree-form organization configuration.

SubscriptionPlanRequest​

{
"id": "Gold",
"refId": "string",
"displayName": "string",
"description": "string",
"limits": [
{
"limitType": "REQUEST_COUNT",
"limitCount": 10000,
"timeUnit": "MINUTE",
"timeAmount": 1
}
]
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneOptional desired handle for the plan (unique per org), stored as-is. When omitted, the server generates a UUID handle. When the plan is created from a SubscriptionPlan YAML artifact instead, the handle is always taken from metadata.name.
refIdstringfalsenonePlatform API subscription plan UUID to associate with this plan.
displayNamestringtruenonenone
descriptionstringfalsenonenone
limits[object]falsenoneRate/quota limits enforced for this plan. Omit or leave empty for an unlimited plan. Replaces the whole limit set on update.
» limitTypestringfalsenonenone
» limitCountintegertruenoneUse -1 for unlimited, otherwise a positive number.
» timeUnitstring¦nullfalsenoneOmit for a limit with no time window.
» timeAmountintegerfalsenoneSize of the time window, in timeUnit units.
typestringfalsenoneLegacy shorthand accepted only via SubscriptionPlan/SubscriptionPlanList YAML upload (multipart/form-data); converted into limits before storage. Ignored for JSON requests — use limits instead.
requestCountanyfalsenoneLegacy YAML shorthand paired with type: requestcount. Use -1 for unlimited.

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousintegerfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousstringfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
eventCountanyfalsenoneLegacy YAML shorthand paired with type: eventcount. Use -1 for unlimited.

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousintegerfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousstringfalsenonenone
Enumerated Values​
PropertyValue
limitTypeREQUEST_COUNT
limitTypeEVENT_COUNT
limitTypeBANDWIDTH
limitTypeTOTAL_TOKEN_COUNT
timeUnitMINUTE
timeUnitHOUR
timeUnitDAY
timeUnitMONTH
timeUnitnull
typerequestcount
typeeventcount

LabelRequest​

{
"id": "premium",
"displayName": "Premium APIs"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringtruenoneDesired handle for the label (unique per org), stored as-is.
displayNamestringtruenonenone

ApplicationRequest​

{
"displayName": "Weather App",
"id": "my-weather-app",
"description": "Application used to call Weather APIs."
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringtruenonenone
idstringfalsenoneImmutable, org-scoped slug for the application, stored as its handle. Optional — defaults to the application's displayName when omitted.
descriptionstringtruenonenone

SubscriptionCreateRequest​

{
"artifactId": "weather-api-v1",
"subscriptionPlanId": "Gold"
}

Properties​

NameTypeRequiredRestrictionsDescription
artifactIdstringtruenoneAPI ID.
subscriptionPlanIdstringtruenoneAPI Portal subscription plan ID.

SubscriptionUpdateRequest​

{
"status": "ACTIVE"
}

Properties​

NameTypeRequiredRestrictionsDescription
statusstringtruenonenone
Enumerated Values​
PropertyValue
statusACTIVE
statusINACTIVE

SubscriptionChangePlanRequest​

{
"artifactId": "weather-api-v1",
"planId": "Gold"
}

Properties​

NameTypeRequiredRestrictionsDescription
artifactIdstringfalsenoneAPI ID the subscription belongs to. Optional — if provided, it is validated against the API derived from the existing subscription record and the request is rejected with 400 if they don't match. It is never used as a fallback: if the API cannot be derived from the subscription record, the request fails with 400 regardless of this value.
planIdstringtruenoneAPI Portal subscription plan ID to switch to.

SubscriptionResponse​

{
"subscriptionId": "sub-12345",
"artifactId": "weather-api-v1",
"subscriptionToken": "a3f1e8b2c4d6e8f0a1b3c5d7e9f10b2c4d6e8f0a1b3c5d7e9f10b2c4d6e8f0a1",
"subscriptionPlanName": "Gold",
"status": "ACTIVE",
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}

Subscription payload.

Properties​

NameTypeRequiredRestrictionsDescription
subscriptionIdstringfalsenonenone
artifactIdstringfalsenoneAPI ID.
subscriptionTokenstring¦nullfalsenonePlaintext subscription token, decrypted on every read (not just on create). Null if decryption fails (e.g. the encryption key changed since the token was stored).
subscriptionPlanNamestringfalsenonenone
statusstringfalsenonenone
createdBystringfalsenoneIdentity of the user who created the subscription, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
updatedBystringfalsenoneIdentity of the user who last updated the subscription, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
createdAtstring(date-time)falsenonenone
updatedAtstring(date-time)falsenonenone
Enumerated Values​
PropertyValue
statusACTIVE
statusINACTIVE

ApiKeyRequest​

{
"id": "weather_prod_key",
"displayName": "Weather Prod Key",
"subscriptionId": "sub-abc123",
"appId": "my-weather-app",
"expiresAt": "2026-12-31T23:59:59Z"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneOptional handle for the key. When provided it must match the pattern and be unique for this API; when omitted, the server generates a UUID handle.
displayNamestringfalsenoneOptional human-readable name for the key. Defaults to id when omitted.
subscriptionIdstringfalsenoneOptional subscription ID to associate the key with.
appIdstringfalsenoneOptional application ID to associate the key with, for analytics attribution only — it has no effect on the key's validity or authorization. Must belong to the same organization and be owned by the caller.
expiresAtanyfalsenoneOptional ISO-8601 datetime with timezone, epoch seconds, or epoch milliseconds.

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousstring(date-time)falsenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousnumberfalsenonenone

ApiKeyMetadataResponse​

{
"id": "weather_prod_key",
"displayName": "Weather Prod Key",
"apiId": "weather-api-v1",
"appId": "my-weather-app",
"appDisplayName": "My Mobile App",
"status": "ACTIVE",
"expiresAt": "2026-12-31T23:59:59Z",
"createdAt": "2019-08-24T14:15:22Z",
"revokedAt": "2019-08-24T14:15:22Z"
}

API key metadata returned by list operations. Secret material is omitted.

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone
displayNamestringfalsenonenone
apiIdstringfalsenoneAPI ID the key belongs to.
appIdstring¦nullfalsenoneID of the application this key is associated with, if any. Analytics attribution only.
appDisplayNamestring¦nullfalsenoneDisplay name of the associated application, if any.
statusstringfalsenonenone
expiresAtstring(date-time)¦nullfalsenonenone
createdAtstring(date-time)falsenonenone
revokedAtstring(date-time)¦nullfalsenonenone
Enumerated Values​
PropertyValue
statusACTIVE
statusREVOKED

ApiKeyResponse​

{
"id": "weather_prod_key",
"displayName": "Weather Prod Key",
"key": "ak_dGhpcyBpcyBub3QgYSByZWFsIGtleQ",
"expiresAt": "2026-12-31T23:59:59Z",
"status": "ACTIVE"
}

API key response returned by generate/regenerate only. Unlike ApiKeyMetadataResponse, this does not include apiId, appId, appDisplayName, createdAt, or revokedAt — generate/regenerate return only these five fields.

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone
displayNamestringfalsenonenone
keystringfalsenoneOne-time plaintext API key secret.
expiresAtstring(date-time)¦nullfalsenonenone
statusstringfalsenonenone
Enumerated Values​
PropertyValue
statusACTIVE
statusREVOKED

ApiKeyApplicationResponse​

{
"application": {
"id": "my-weather-app",
"displayName": "My Mobile App"
}
}

Properties​

NameTypeRequiredRestrictionsDescription
applicationobjectfalsenonenone
» idstringfalsenonenone
» displayNamestringfalsenonenone

KeyManagerRequest​

{
"displayName": "Asgardeo",
"id": "asgardeo-prod",
"enabled": true,
"tokenEndpoint": "https://api.asgardeo.io/t/myorg/oauth2/token"
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringtruenonenone
idstringfalsenoneOptional desired handle for the key manager (unique per org), stored as-is. When omitted, the server generates a UUID handle. A collision on a handle you supply yourself is reported as 409.
enabledbooleanfalsenonenone
tokenEndpointstring(uri)truenoneOAuth2 token endpoint. The OAuth application itself must be created directly in this key manager; the portal only proxies client_appKeyMappings token requests to this endpoint.

KeyManagerUpdateRequest​

{
"displayName": "Asgardeo",
"id": "asgardeo-prod",
"enabled": true,
"tokenEndpoint": "https://api.asgardeo.io/t/myorg/oauth2/token"
}

Partial update payload for a key manager. All fields are optional; only supplied fields are applied. Omitted fields retain their stored values.

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringfalsenonenone
idstringfalsenoneDesired handle for the key manager (unique per org), stored as-is.
enabledbooleanfalsenonenone
tokenEndpointstring(uri)falsenonenone

KeyManagerResponseSchema​

{
"id": "asgardeo-prod",
"displayName": "Asgardeo",
"orgId": "org-12345",
"enabled": true,
"tokenEndpoint": "https://api.asgardeo.io/t/myorg/oauth2/token",
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}

Key manager configuration.

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe key manager's handle (unique per org). Not the internal database uuid.
displayNamestringfalsenonenone
orgIdstringfalsenonenone
enabledbooleanfalsenonenone
tokenEndpointstring(uri)falsenonenone
createdBystringfalsenoneIdentity of the user who created this key manager, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
updatedBystringfalsenoneIdentity of the user who last updated this key manager, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
createdAtstring(date-time)falsenonenone
updatedAtstring(date-time)falsenonenone

KeyManagerPublicResponseSchema​

{
"id": "asgardeo-prod",
"displayName": "Asgardeo",
"tokenEndpoint": "https://api.asgardeo.io/t/myorg/oauth2/token"
}

Minimal developer-facing key manager view.

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe key manager's handle (unique per org). Not the internal database uuid.
displayNamestringfalsenonenone
tokenEndpointstring(uri)falsenonenone

WebhookSubscriberRequest​

{
"id": "production-gateway",
"displayName": "Production Gateway",
"targetUrl": "https://gateway.example.com/api-portal-webhook",
"secret": "<shared-secret>",
"events": [
"apikey.*",
"subscription.*"
],
"enabled": true,
"timeoutMs": 5000
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneOptional handle for the webhook subscriber (unique per org), stored as-is. When omitted, the server generates a UUID handle. Supply it only when you need a specific, stable identifier — it is the id used in the resource path, and a collision on a handle you supplied yourself is reported as 409.
displayNamestringtruenoneDisplay name for the webhook subscriber.
targetUrlstring(uri)truenoneTarget URL events are POSTed to.
secretstringfalsenoneShared secret, used for two purposes. It signs outgoing payloads with a hash-based message authentication code (HMAC-SHA256). It also derives, through HKDF-SHA3-256, the AES-256-GCM key that encrypts sensitive fields in apikey.* and subscription.* payloads, so only the subscriber can read the plaintext. Encrypted fields arrive as data.iv, data.tag, and data.ciphertext; the derivation and a worked decryption example are documented in the webhook event catalog. Stored encrypted, and never returned in responses.
events[string]falsenoneGlob-style event type allowlist (only a trailing * wildcard is supported, e.g. apikey.*). Omit or leave empty to receive all event types.
enabledbooleanfalsenonenone
timeoutMsintegerfalsenonenone

WebhookSubscriberResponseSchema​

{
"id": "production-gateway",
"orgId": "org-12345",
"displayName": "Production Gateway",
"targetUrl": "https://gateway.example.com/api-portal-webhook",
"enabled": true,
"events": [
"apikey.*",
"subscription.*"
],
"timeoutMs": 5000,
"hasSecret": true,
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}

Webhook subscriber configuration. The secret is never included.

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe webhook subscriber's handle (unique per org). Not the internal database uuid.
orgIdstringfalsenonenone
displayNamestringfalsenonenone
targetUrlstring(uri)falsenonenone
enabledbooleanfalsenonenone
events[string]falsenonenone
timeoutMsintegerfalsenonenone
hasSecretbooleanfalsenoneWhether a secret is configured. The same secret serves two purposes. It signs outgoing payloads with a hash-based message authentication code (HMAC), and it derives the AES-256-GCM key that encrypts sensitive fields. Encrypted fields arrive as data.iv, data.tag, and data.ciphertext; the derivation and a worked decryption example are documented in the webhook event catalog.
createdBystringfalsenoneIdentity of the user who created this webhook subscriber, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses and list items.
updatedBystringfalsenoneIdentity of the user who last updated this webhook subscriber, or deleted_user if that user's IDP reference no longer exists. Present on single-resource GET responses only, omitted on list items.
createdAtstring(date-time)falsenonenone
updatedAtstring(date-time)falsenonenone

WebhookSubscriberDeliverySummary​

{
"deliveryId": "del-abc123",
"eventType": "apikey.generated",
"occurredAt": "2019-08-24T14:15:22Z",
"status": "DELIVERED",
"lastHttpStatus": 200,
"lastError": "string",
"lastAttemptAt": "2019-08-24T14:15:22Z",
"deliveredAt": "2019-08-24T14:15:22Z"
}

A single delivery attempt made to a webhook subscriber.

Properties​

NameTypeRequiredRestrictionsDescription
deliveryIdstringfalsenonenone
eventTypestring¦nullfalsenonenone
occurredAtstring(date-time)¦nullfalsenonenone
statusstringfalsenonenone
lastHttpStatusinteger¦nullfalsenonenone
lastErrorstring¦nullfalsenonenone
lastAttemptAtstring(date-time)¦nullfalsenonenone
deliveredAtstring(date-time)¦nullfalsenonenone
Enumerated Values​
PropertyValue
statusPENDING
statusIN_FLIGHT
statusDELIVERED
statusFAILED

AppKeyMappingRequest​

{
"keyManager": "Resident Key Manager",
"type": "PRODUCTION",
"consumerKey": "consumer-key-123"
}

Properties​

NameTypeRequiredRestrictionsDescription
keyManagerstringtruenonenone
typestringfalsenonenone
consumerKeystringtruenoneThe OAuth client_id, created directly in the key manager. The portal does not store or persist the client secret — it is supplied per-request when generating a token and is only seen transiently during that request.
Enumerated Values​
PropertyValue
typePRODUCTION
typeSANDBOX

ViewCreateRequest​

{
"id": "partner-apis",
"displayName": "Partner APIs",
"labels": [
"partner",
"public"
]
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringtruenoneDesired handle for the view (unique per org), stored as-is.
displayNamestringfalsenoneOptional display name. Defaults to the handle when omitted.
labels[string]truenoneLabel names to attach to the view.

ViewUpdateRequest​

{
"displayName": "Partner and Public APIs",
"labels": [
"partner",
"premium"
]
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringfalsenonenone
labels[string]falsenoneFull desired set of label names for the view. Labels present here but not currently attached are attached; labels currently attached but absent here are detached. Omit to leave labels unchanged.

OAuthGenerateTokenRequest​

{
"consumerSecret": "my-consumer-secret",
"scopes": [
"weather.read"
],
"validityPeriod": 3600
}

OAuth access token generation payload. consumerSecret is required — the portal uses it to call the Authorization Server token endpoint directly.

Properties​

NameTypeRequiredRestrictionsDescription
consumerSecretstringtruenoneClient secret for the OAuth application. Not stored by the portal — the caller must supply it on each token generation request.
scopes[string]falsenonenone
validityPeriodintegerfalsenonenone

ApplicationOAuthKeyResponse​

{
"keyMappingId": "km-12345",
"keyManager": "Resident Key Manager",
"type": "PRODUCTION",
"consumerKey": "consumer-key-123",
"tokenEndpoint": "https://api.asgardeo.io/t/myorg/oauth2/token"
}

OAuth key mapping payload.

Properties​

NameTypeRequiredRestrictionsDescription
keyMappingIdstringfalsenonenone
keyManagerstringfalsenonenone
typestringfalsenonenone
consumerKeystringfalsenonenone
tokenEndpointstring(uri)falsenonenone

OAuthTokenResponse​

{
"accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
"validityTime": 3600,
"tokenScopes": [
"weather.read"
]
}

Access token response proxied from the key manager's token endpoint. Field names are the portal's own camelCase, not the underlying OAuth2 token response's snake_case.

Properties​

NameTypeRequiredRestrictionsDescription
accessTokenstringfalsenonenone
validityTimeinteger¦nullfalsenoneToken lifetime in seconds, as reported by the key manager (expires_in).
tokenScopes[string]falsenonenone

APIWorkflowCreateResponse​

{
"id": "workflow-12345",
"displayName": "Weather onboarding",
"status": "PUBLISHED"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone
displayNamestringfalsenonenone
statusstringfalsenonenone
Enumerated Values​
PropertyValue
statusDRAFT
statusPUBLISHED

APIWorkflowResponse​

{
"id": "workflow-12345",
"displayName": "Weather onboarding",
"description": "string",
"agentPrompt": "string",
"status": "PUBLISHED",
"agentVisibility": "VISIBLE",
"contentType": "ARAZZO",
"apiWorkflowDefinition": "string",
"markdownContent": "string",
"createdAt": "May 7, 2026",
"updatedAt": "string",
"createdBy": "string",
"updatedBy": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenoneThe workflow's handle (unique per org and view). Not the internal database uuid.
displayNamestringfalsenonenone
descriptionstringfalsenonenone
agentPromptstringfalsenonenone
statusstringfalsenonenone
agentVisibilitystringfalsenonenone
contentTypestringfalsenonenone
apiWorkflowDefinitionstring¦nullfalsenonenone
markdownContentstring¦nullfalsenonenone
createdAtstringfalsenonenone
updatedAtstring¦nullfalsenonenone
createdBystring¦nullfalsenonenone
updatedBystring¦nullfalsenonenone
Enumerated Values​
PropertyValue
statusDRAFT
statusPUBLISHED
agentVisibilityVISIBLE
agentVisibilityHIDDEN
contentTypeARAZZO
contentTypeMD

APIWorkflowPromptResponse​

{
"agentPrompt": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
agentPromptstringfalsenonenone

APIWorkflowCreateRequest​

{
"displayName": "Weather onboarding",
"id": "weather-onboarding",
"description": "Guides users through the Weather API onboarding workflow.",
"agentPrompt": "Follow this workflow to onboard a Weather API user.",
"status": "PUBLISHED",
"agentVisibility": "VISIBLE",
"contentType": "ARAZZO",
"apiWorkflowDefinition": {},
"markdownContent": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringtruenonenone
idstringfalsenoneDesired handle for the workflow (unique per org and view), stored as-is.
descriptionstringtruenonenone
agentPromptstringfalsenonenone
statusstringfalsenonenone
agentVisibilitystringfalsenonenone
contentTypestringfalsenonenone
apiWorkflowDefinitionanyfalsenoneJSON/YAML Arazzo content when contentType is ARAZZO.

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousobjectfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousstringfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
markdownContentstringfalsenoneMarkdown content when contentType is MD.
Enumerated Values​
PropertyValue
statusDRAFT
statusPUBLISHED
agentVisibilityVISIBLE
agentVisibilityHIDDEN
contentTypeARAZZO
contentTypeMD

APIWorkflowUpdateRequest​

{
"displayName": "Weather onboarding v2",
"id": "weather-onboarding-v2",
"description": "Updated Weather API onboarding workflow.",
"agentPrompt": "string",
"status": "PUBLISHED",
"agentVisibility": "VISIBLE",
"contentType": "ARAZZO",
"apiWorkflowDefinition": {},
"markdownContent": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringfalsenonenone
idstringfalsenoneDesired handle for the workflow (unique per org and view), stored as-is.
descriptionstringfalsenonenone
agentPromptstringfalsenonenone
statusstringfalsenonenone
agentVisibilitystringfalsenonenone
contentTypestringfalsenonenone
apiWorkflowDefinitionanyfalsenonenone

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousobjectfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousstringfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
markdownContentstringfalsenonenone
Enumerated Values​
PropertyValue
statusDRAFT
statusPUBLISHED
agentVisibilityVISIBLE
agentVisibilityHIDDEN
contentTypeARAZZO
contentTypeMD

APIWorkflowPromptRequest​

{
"displayName": "Weather onboarding",
"description": "Guides users through the Weather API onboarding workflow.",
"apis": [
{}
],
"orgHandle": "acme",
"viewName": "default",
"id": "weather-onboarding"
}

Properties​

NameTypeRequiredRestrictionsDescription
displayNamestringtruenonenone
descriptionstringtruenonenone
apis[object]falsenonenone
orgHandlestringfalsenonenone
viewNamestringfalsenonenone
idstringfalsenoneThe workflow's (would-be) handle, used only to build the workflow detail URL referenced in the generated prompt.

WebhookEventDelivery​

{
"deliveryId": "del-abc123",
"subscriberId": "sub-xyz789",
"targetUrl": "https://example.com/webhook",
"status": "DELIVERED",
"lastHttpStatus": 200,
"lastError": "string",
"lastAttemptAt": "2019-08-24T14:15:22Z",
"deliveredAt": "2019-08-24T14:15:22Z"
}

A single webhook delivery attempt.

Properties​

NameTypeRequiredRestrictionsDescription
deliveryIdstringfalsenonenone
subscriberIdstringfalsenonenone
targetUrlstring¦nullfalsenonenone
statusstringfalsenonenone
lastHttpStatusinteger¦nullfalsenonenone
lastErrorstring¦nullfalsenonenone
lastAttemptAtstring(date-time)¦nullfalsenonenone
deliveredAtstring(date-time)¦nullfalsenonenone
Enumerated Values​
PropertyValue
statusPENDING
statusIN_FLIGHT
statusDELIVERED
statusFAILED

WebhookEvent​

{
"eventId": "evt-abc123",
"eventType": "apikey.generated",
"orgId": "org-default",
"aggregateType": "apikey",
"aggregateId": "key-12345",
"status": "ALL_DELIVERED",
"occurredAt": "2019-08-24T14:15:22Z",
"deliveries": [
{
"deliveryId": "del-abc123",
"subscriberId": "sub-xyz789",
"targetUrl": "https://example.com/webhook",
"status": "DELIVERED",
"lastHttpStatus": 200,
"lastError": "string",
"lastAttemptAt": "2019-08-24T14:15:22Z",
"deliveredAt": "2019-08-24T14:15:22Z"
}
]
}

A webhook event with its delivery rows.

Properties​

NameTypeRequiredRestrictionsDescription
eventIdstringfalsenonenone
eventTypestringfalsenonenone
orgIdstringfalsenonenone
aggregateTypestringfalsenonenone
aggregateIdstringfalsenonenone
statusstringfalsenonenone
occurredAtstring(date-time)falsenonenone
deliveries[WebhookEventDelivery]falsenone[A single webhook delivery attempt.]
Enumerated Values​
PropertyValue
statusPENDING
statusDISPATCHED
statusALL_DELIVERED
statusFAILED

Was this page helpful?