Skip to main content
POST
/
v1
/
manage
/
access-list
Create access list
curl --request POST \
  --url https://api-v2.requesty.ai/v1/manage/access-list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Production Models",
  "auto_approve": false,
  "chat": [
    "openai/gpt-4o",
    "anthropic/claude-sonnet-4-20250514"
  ],
  "embedding": [
    "<string>"
  ],
  "image": [
    "<string>"
  ],
  "transcription": [
    "<string>"
  ],
  "speech": [
    "<string>"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Create a new access list in the organization. An access list defines which models are allowed for API keys or groups it is attached to. Specify models per modality: chat, embedding, image, transcription, and speech.

Authorizations

Authorization
string
header
required

API key for authentication

Body

application/json
name
string
required

Name for the access list

Example:

"Production Models"

auto_approve
boolean
default:false

Whether new models matching the list patterns are automatically approved

chat
string[]

Chat/completion model identifiers to allow

Example:
[
"openai/gpt-4o",
"anthropic/claude-sonnet-4-20250514"
]
embedding
string[]

Embedding model identifiers to allow

image
string[]

Image generation model identifiers to allow

transcription
string[]

Transcription model identifiers to allow

speech
string[]

Speech model identifiers to allow

Response

Access list created successfully

id
string<uuid>
required

The ID of the newly created access list

Last modified on July 3, 2026