Agent Gallery
Agent Gallery API

Endpoints Requiring Authentication

Agent Gallery API endpoints that require JWT Bearer authentication.

Endpoints Requiring Authentication

These endpoints require a valid JWT Bearer token obtained from the /login endpoint.

Base URLs

  • API Gateway: https://mcpairplatformapim01.azure-api.net/agent-gallery-api-gateway
  • Backend: http://agent-gallery-api.mcp-airefinery.internal

Authentication

All requests must include the Authorization header:

Authorization: Bearer <your-jwt-token>

Get Token

Store the authentication token in a variable for use in subsequent requests:

TOKEN=$(curl -s -X POST "https://mcpairplatformapim01.azure-api.net/agent-gallery-api-gateway/login" \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d "username=<xx.xxx>@accenture.com&password=xxxxx" \
  | jq -r .access_token)

Available Endpoints

POST /launch

Deploy a new agent from the gallery.

Headers:

  • Authorization: Bearer <token>
  • Content-Type: application/json
  • Accept: application/json

Request Body Parameters:

  • srcOwner – string – Required. Repository owner (e.g., EthanHenrickson)
  • srcRepo – string – Required. Repository name (e.g., math-mcp)
  • srcAgentType – string – Required. Agent type (e.g., Third-Party)

Example Request:

curl -s -X POST "https://mcpairplatformapim01.azure-api.net/agent-gallery-api-gateway/launch" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $TOKEN" \
    -d '{
      "srcOwner": "EthanHenrickson",
      "srcRepo": "math-mcp",
      "srcAgentType": "Third-Party"
    }'

Response:

{
  "data": {
    "deploymentId": "xxx-xx-xxx-xx-xxx",
    "deploymentName": "agent-launcher-xxxx",
    "namespace": "mcp-thirdparty",
    "hostname": "agent-launcher-xxxx.agents.mcp-airefinery.internal"
  }
}

GET /status/{deployment_id}

Get the current status of a running agent deployment. Status will change from Pending to Running.

Headers:

  • Authorization: Bearer <token>

Path Parameters:

  • deployment_id – UUID – Required. Deployment ID from /launch response

Example Request:

curl -X GET "https://mcpairplatformapim01.azure-api.net/agent-gallery-api-gateway/status/<xxx-xx-xxx-xx-xxx>" \
  -H "Authorization: Bearer $TOKEN"

Response:

{
  "status": "RUNNING",
  "message": "Deployment is available and running.",
  "podName": null,
  "reason": null,
  "logs": null
}

DELETE /delete/{deployment_id}

Stop and remove a running agent deployment.

Headers:

  • Authorization: Bearer <token>

Path Parameters:

  • deployment_id – UUID – Required. Deployment ID to delete

Example Request:

curl -X DELETE "https://mcpairplatformapim01.azure-api.net/agent-gallery-api-gateway/delete/<xxx-xx-xxx-xx-xxx>" \
  -H "Authorization: Bearer $TOKEN"

Response:

{
  "message": "Deployment deleted successfully",
  "deployment_id": "xxx-xx-xxx-xx-xxx"
}

← Back to Agent Gallery API