Git Providers

Create a GitLab PAT provider

Changed on
post/git-providers/gitlab/pat

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

base_urlstring nullable
namestring required
tokenstring password required

A credential. Write-only: it is never returned, and the AI assistant supplies it through a secret slot instead of typing it into the conversation.

Response

GitLab PAT provider created successfully

auth_methodstring required
base_urlstring nullable
created_atstring date-time required
idinteger required
is_activeboolean required
is_defaultboolean required
namestring required
provider_typestring required
updated_atstring date-time required

Changes