Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

Create a Project Self-Hosted Distribution Credential

POST/v1/projects/{project_id}/self-hosted/distribution/credentialsCreate a Project Self-Hosted Distribution Credential

Creates a set of distribution credentials for the specified project

Parameters

project_idstringpathrequired

The unique identifier of the project

scopesarrayquery

List of permission scopes for the credentials

default ["self-hosted:products"]

providerstringquery

The provider of the distribution service

one of "quay"

one of "quay" · default "quay"

Request body

The set of distribution credentials to create

application/json
objectCreateProjectDistributionCredentialsV1Request

CreateProjectDistributionCredentialsV1Request

Request body for creating distribution credentials

commentstring

Optional comment about the credentials

Example request
{
  "comment": "string"
}

Responses

200Single distribution credentialapplication/json
objectCreateProjectDistributionCredentialsV1Response

CreateProjectDistributionCredentialsV1Response

distribution_credentialsobjectrequired
Show child attributes
commentstring

Optional comment about the credentials

createdstring · date-timerequired

Timestamp when the credentials were created

distribution_credentials_idstring · uuidrequired

Unique identifier for the distribution credentials

providerstringrequired

The provider of the distribution service

scopesarray of stringrequired

List of permission scopes for the credentials

Show child attributes
memberobjectrequired
Show child attributes
emailstring · emailrequired

Email address of the member

member_idstring · uuidrequired

Unique identifier for the member

Example response
{
  "distribution_credentials": {
    "comment": "string",
    "created": "2026-06-09T00:00:00Z",
    "distribution_credentials_id": "00000000-0000-0000-0000-000000000000",
    "provider": "string",
    "scopes": [
      "string"
    ]
  },
  "member": {
    "email": "user@example.com",
    "member_id": "00000000-0000-0000-0000-000000000000"
  }
}
400Invalid Requestapplication/json
valueErrorResponse

ErrorResponse

oneOf · 3 options
Option 1stringErrorResponseTextError

ErrorResponseTextError

Option 2objectErrorResponseLegacyError

ErrorResponseLegacyError

err_codestring

The error code

err_msgstring

The error message

request_idstring

The request ID

Option 3objectErrorResponseModernError

ErrorResponseModernError

categorystring

The category of the error

detailsstring

A description of the error

messagestring

A message about the error

request_idstring

The unique identifier of the request

Example response
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
Documentation menu