Skip to main content

Platform API: Applications

Application management operations

Create a new application​

POST /applications

Code samples


curl -X POST https://localhost:9243/api/v0.9/applications \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d @payload.json

Creates a new application within the organization specified in the JWT token.

Payload

{
"id": "my-app-handle",
"displayName": "GenAI Demo App",
"projectId": "default-project",
"type": "genai",
"description": "Sample GenAI application"
}

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:create`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
bodybodyCreateApplicationRequesttruenone

Example responses

201 Response

{
"id": "my-app-handle",
"displayName": "GenAI Demo App",
"projectId": "default-project",
"type": "genai",
"description": "Sample GenAI application",
"createdBy": "john.doe",
"updatedBy": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z"
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

409 Response

{
"status": "error",
"code": "CONFLICT",
"message": "The request conflicts with the current state of the resource."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
201CreatedApplication created successfullyApplication
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
409ConflictConflict. The request conflicts with the current state of the resource.Error
500Internal Server ErrorInternal Server Error.Error

Response Headers​

StatusHeaderTypeFormatDescription
201LocationstringuriURL of the newly created resource.

Get applications for current user's organization​

GET /applications

Code samples


curl -X GET https://localhost:9243/api/v0.9/applications?projectId=default-project \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Retrieves applications belonging to the organization specified in the JWT token. Filters by project using the required projectId query parameter.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:read`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
projectIdquerystringtrueProject ID consisting of the handle (unique slug identifier) of the Project whose resources should be returned.
limitqueryintegerfalseMaximum number of items to return per page.
offsetqueryintegerfalseZero-based index of the first item to return.
sortByquerystringfalseField to sort the collection by. An unrecognized value falls back to the default sort (createdAt).
sortOrderquerystringfalseSort direction applied to sortBy.
queryquerystringfalseCase-insensitive substring filter matched against the resource id (handle).

Detailed descriptions​

projectId: Project ID consisting of the handle (unique slug identifier) of the Project whose resources should be returned.

Enumerated Values​

ParameterValue
sortByname
sortBycreatedAt
sortOrderasc
sortOrderdesc

Example responses

200 Response

{
"count": 2,
"list": [
{
"id": "my-app-handle",
"displayName": "GenAI Demo App",
"projectId": "default-project",
"type": "genai",
"description": "Sample GenAI application",
"createdBy": "john.doe",
"updatedBy": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z"
}
],
"pagination": {
"total": 10,
"offset": 0,
"limit": 10
}
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKApplications retrieved successfullyApplicationListResponse
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Get application by handle​

GET /applications/{applicationId}

Code samples


curl -X GET https://localhost:9243/api/v0.9/applications/{applicationId} \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Retrieves a specific application by handle. Access is validated against the organization in the JWT token.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:read`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

200 Response

{
"id": "my-app-handle",
"displayName": "GenAI Demo App",
"projectId": "default-project",
"type": "genai",
"description": "Sample GenAI application",
"createdBy": "john.doe",
"updatedBy": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z"
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKApplication retrieved successfullyApplication
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Update application​

PUT /applications/{applicationId}

Code samples


curl -X PUT https://localhost:9243/api/v0.9/applications/{applicationId} \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d @payload.json

Updates an existing application by handle.

Payload

{
"id": "my-app-handle",
"displayName": "GenAI Demo App",
"projectId": "default-project",
"type": "genai",
"description": "Sample GenAI application"
}

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:update`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
bodybodyApplicationtruenone

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

200 Response

{
"id": "my-app-handle",
"displayName": "GenAI Demo App",
"projectId": "default-project",
"type": "genai",
"description": "Sample GenAI application",
"createdBy": "john.doe",
"updatedBy": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z"
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

409 Response

{
"status": "error",
"code": "CONFLICT",
"message": "The request conflicts with the current state of the resource."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKApplication updated successfullyApplication
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
409ConflictConflict. The request conflicts with the current state of the resource.Error
500Internal Server ErrorInternal Server Error.Error

Delete application​

DELETE /applications/{applicationId}

Code samples


curl -X DELETE https://localhost:9243/api/v0.9/applications/{applicationId} \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Deletes an existing application by handle.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:delete`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
204No ContentApplication deleted successfullyNone
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

List application API key mappings​

GET /applications/{applicationId}/api-keys

Code samples


curl -X GET https://localhost:9243/api/v0.9/applications/{applicationId}/api-keys \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Lists all API keys mapped to the specified application.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:api_key:read`, `ap:application:api_key:manage`, `ap:application:manage`, `ap:api_key:all:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
limitqueryintegerfalseMaximum number of items to return per page.
offsetqueryintegerfalseZero-based index of the first item to return.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

200 Response

{
"count": 2,
"list": [
{
"keyId": "client-key-1",
"associatedEntity": {
"id": "pizza-api",
"kind": "RestApi"
},
"status": "ACTIVE",
"userId": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z",
"expiresAt": "2026-11-15T10:30:00Z"
}
],
"pagination": {
"total": 10,
"offset": 0,
"limit": 10
}
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKMapped API keys retrieved successfullyMappedAPIKeyListResponse
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Add application API key mappings​

POST /applications/{applicationId}/api-keys

Code samples


curl -X POST https://localhost:9243/api/v0.9/applications/{applicationId}/api-keys \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d @payload.json

Adds API key mappings to the specified application.

Payload

{
"apiKeys": [
{
"keyId": "client-key-1",
"associatedEntity": {
"id": "pizza-api"
}
}
]
}

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:api_key:create`, `ap:application:api_key:manage`, `ap:application:manage`, `ap:api_key:all:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
bodybodyAddApplicationAPIKeysRequesttruenone

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

200 Response

{
"count": 2,
"list": [
{
"keyId": "client-key-1",
"associatedEntity": {
"id": "pizza-api",
"kind": "RestApi"
},
"status": "ACTIVE",
"userId": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z",
"expiresAt": "2026-11-15T10:30:00Z"
}
],
"pagination": {
"total": 10,
"offset": 0,
"limit": 10
}
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKAPI key mappings added successfullyMappedAPIKeyListResponse
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Remove application API key mapping​

DELETE /applications/{applicationId}/api-keys/{apiKeyId}

Code samples


curl -X DELETE https://localhost:9243/api/v0.9/applications/{applicationId}/api-keys/{apiKeyId}?entityID=my-rest-api-handle \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Removes a mapped API key from the specified application.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:api_key:delete`, `ap:application:api_key:manage`, `ap:application:manage`, `ap:api_key:all:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
apiKeyIdpathstringtrueAPI Key ID consisting of the name of the API key.
entityIDquerystringtrueEntity ID of the artifact associated with the API key mapping.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

apiKeyId: API Key ID consisting of the name of the API key.

entityID: Entity ID of the artifact associated with the API key mapping.

Example responses

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
204No ContentAPI key mapping removed successfullyNone
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

List application associations​

GET /applications/{applicationId}/associations

Code samples


curl -X GET https://localhost:9243/api/v0.9/applications/{applicationId}/associations \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Lists association targets mapped to the specified application.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:association:read`, `ap:application:association:manage`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
limitqueryintegerfalseMaximum number of items to return per page.
offsetqueryintegerfalseZero-based index of the first item to return.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

200 Response

{
"count": 2,
"list": [
{
"id": "provider-handle",
"displayName": "OpenAI Provider",
"version": "v1.0",
"kind": "LlmProvider",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z"
}
],
"pagination": {
"total": 10,
"offset": 0,
"limit": 10
}
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKApplication associations retrieved successfullyApplicationAssociationListResponse
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Add application associations​

POST /applications/{applicationId}/associations

Code samples


curl -X POST https://localhost:9243/api/v0.9/applications/{applicationId}/associations \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d @payload.json

Adds association targets to the specified application.

Payload

{
"associations": [
{
"id": "provider-handle",
"kind": "LlmProvider"
}
]
}

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:association:create`, `ap:application:association:manage`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
bodybodyAddApplicationAssociationsRequesttruenone

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

Example responses

200 Response

{
"count": 2,
"list": [
{
"id": "provider-handle",
"displayName": "OpenAI Provider",
"version": "v1.0",
"kind": "LlmProvider",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z"
}
],
"pagination": {
"total": 10,
"offset": 0,
"limit": 10
}
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKApplication associations added successfullyApplicationAssociationListResponse
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Remove application association​

DELETE /applications/{applicationId}/associations/{associationId}

Code samples


curl -X DELETE https://localhost:9243/api/v0.9/applications/{applicationId}/associations/{associationId} \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Removes an association target from the specified application.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:association:delete`, `ap:application:association:manage`, `ap:application:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
associationIdpathstringtrueAssociation ID consisting of the handle or UUID of the association target.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

associationId: Association ID consisting of the handle or UUID of the association target.

Example responses

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

403 Response

{
"status": "error",
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
204No ContentApplication association removed successfullyNone
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
403ForbiddenForbidden. The authenticated user does not have permission to access this resource.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

List application API key mappings for an association​

GET /applications/{applicationId}/associations/{associationId}/api-keys

Code samples


curl -X GET https://localhost:9243/api/v0.9/applications/{applicationId}/associations/{associationId}/api-keys \
-H 'Authorization: Bearer {access_token}' \
-H 'Accept: application/json'

Lists API keys mapped to the specified application for the given associated target.

Authentication​

This operation requires a Bearer JWT access token in the Authorization header. Required scopes (the token must carry at least one of): `ap:application:association:api_key:read`, `ap:application:association:manage`, `ap:application:manage`, `ap:api_key:all:manage`

Parameters​

NameInTypeRequiredDescription
applicationIdpathstringtrueApplication ID consisting of the handle of the application.
associationIdpathstringtrueAssociation ID consisting of the handle or UUID of the association target.
limitqueryintegerfalseMaximum number of items to return per page.
offsetqueryintegerfalseZero-based index of the first item to return.

Detailed descriptions​

applicationId: Application ID consisting of the handle of the application.

associationId: Association ID consisting of the handle or UUID of the association target.

Example responses

200 Response

{
"count": 2,
"list": [
{
"keyId": "client-key-1",
"associatedEntity": {
"id": "pizza-api",
"kind": "RestApi"
},
"status": "ACTIVE",
"userId": "john.doe",
"createdAt": "2025-11-15T10:30:00Z",
"updatedAt": "2025-11-15T11:30:00Z",
"expiresAt": "2026-11-15T10:30:00Z"
}
],
"pagination": {
"total": 10,
"offset": 0,
"limit": 10
}
}

400 Response

{
"status": "error",
"code": "VALIDATION_FAILED",
"message": "The request failed validation.",
"errors": [
{
"field": "<name of the offending field>",
"message": "<reason this field failed validation>"
}
]
}

401 Response

{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Authorization header is required, or the token is invalid or expired."
}

404 Response

{
"status": "error",
"code": "NOT_FOUND",
"message": "The specified resource does not exist."
}

500 Response

{
"status": "error",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"trackingId": "4f1c6f2e-8a4b-4c93-b1de-9f2f6f0c2a11"
}

Responses​

StatusMeaningDescriptionSchema
200OKMapped API keys retrieved successfullyMappedAPIKeyListResponse
400Bad RequestBad Request. Invalid request or validation error.Error
401UnauthorizedUnauthorized. Authentication credentials are missing or invalid.Error
404Not FoundNot Found. The specified resource does not exist.Error
500Internal Server ErrorInternal Server Error.Error

Was this page helpful?