Skip to main content
POST
/
api
/
spec_from_url
Spec Create From Url
curl --request POST \
  --url https://app.apigene.ai/api/spec_from_url/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "global_spec": false,
  "shared_security_info": false,
  "create_mcp": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Body

application/json

Request body model for creating spec from URL.

url
string
required
global_spec
boolean
default:false
shared_security_info
boolean
default:false
create_mcp
boolean
default:false

Response

Successful Response