agentRuntime

Returns the AI models available to agents.

Changed on

Returns the agent model catalog with effective availability for the current workspace. The response includes model providers, model details, defaults, and available image capabilities. Use these values when selecting a model for an agent or conversation.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

get/agents/models

Request

  • Base URL
    https://api.awork.com/api/v1
  • URL
    https://api.awork.com/api/v1/agents/models
  • Auth
    HTTP bearer

Response

OK

defaultProviderstring nullable

The default provider.

defaultModelstring nullable

The default model.

availableImageCapabilitiesstring[] nullable

Image capability keys available in this workspace.

imageCapabilityModelsobject nullable

The configured runtime model for each image capability, using the workspace catalog metadata.

Changes

    • info

      added the optional property to the response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API