---
updatedAt: 2026-10-19T18:27:28.000Z
agentTools:
  projectIndex: https://docs.skyfire.xyz/llms.txt
---

# Activate Agent's Service

Activate a seller service belonging to an agent. Only approved seller services can be activated.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "skyfire-agent-and-token-apis",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.skyfire.xyz"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "skyfire-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v1/agents/seller-services/{sellerServiceId}/activate": {
      "post": {
        "summary": "Activate Agent's Service",
        "description": "Activate a seller service belonging to an agent. Only approved seller services can be activated.",
        "operationId": "create-agents-service",
        "parameters": [
          {
            "in": "path",
            "name": "sellerServiceId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Unique identifier of the seller service to activate. e.g. `\"deeafae8-b98f-40a2-ad62-4fbe22334d89\"`"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content. The service is active."
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "examples": {
                  "Bad Request": {
                    "summary": "Bad Request",
                    "value": {
                      "code": "BAD_REQUEST",
                      "message": "Only approved seller services can be activated. This service is not approved, please contact support."
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "BAD_REQUEST"
                    },
                    "message": {
                      "type": "string",
                      "example": "Only approved seller services can be activated. This service is not approved, please contact support."
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "examples": {
                  "Unprocessable Entity": {
                    "summary": "Unprocessable Entity",
                    "value": {
                      "code": "VALIDATION_ERROR",
                      "message": "Validation Error",
                      "details": {
                        "id": {
                          "message": "Must be a valid UUID"
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "VALIDATION_ERROR"
                    },
                    "message": {
                      "type": "string",
                      "example": "Validation Error"
                    },
                    "details": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "object",
                          "properties": {
                            "message": {
                              "type": "string",
                              "example": "Must be a valid UUID"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-readme": {
          "code-samples": [
            {
              "code": "curl -i -X POST 'https://api.skyfire.xyz/api/v1/agents/seller-services/deeafae8-b98f-40a2-ad62-4fbe22334d89/activate' \\\n  -H 'skyfire-api-key: 72fa67b7-961e-4535-8bf5-b8c44bf4a155'",
              "language": "shell",
              "name": "cURL"
            },
            {
              "code": "const res = await fetch(\n  'https://api.skyfire.xyz/api/v1/agents/seller-services/deeafae8-b98f-40a2-ad62-4fbe22334d89/activate',\n  {\n    method: 'POST',\n    headers: { 'skyfire-api-key': '72fa67b7-961e-4535-8bf5-b8c44bf4a155' }\n  }\n);\nconsole.log(res.status); // 204",
              "language": "node",
              "name": ""
            },
            {
              "code": "import http.client\n\nconn = http.client.HTTPSConnection(\"api.skyfire.xyz\")\nheaders = {'skyfire-api-key': '72fa67b7-961e-4535-8bf5-b8c44bf4a155'}\nconn.request(\"POST\", \"/api/v1/agents/seller-services/deeafae8-b98f-40a2-ad62-4fbe22334d89/activate\", None, headers)\nres = conn.getresponse()\nprint(res.status)  # 204",
              "language": "python",
              "name": ""
            }
          ],
          "samples-languages": [
            "shell",
            "node",
            "python"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "skyfire-api-key",
        "value": "<Your Skyfire Agent Account API Key>"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```