Skip to main content
GET
/
deployments
/
secrets
/
{id}
cURL
curl -X GET \
      -H "Authorization: Bearer $TOGETHER_API_KEY" \
      https://api.together.ai/v1/deployments/secrets/my-secret
{
  "created_at": "<string>",
  "created_by": "<string>",
  "description": "<string>",
  "id": "<string>",
  "last_updated_by": "<string>",
  "name": "<string>",
  "object": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Secret ID or name

Response

Secret details

created_at
string

CreatedAt is the ISO8601 timestamp when this secret was created

created_by
string

CreatedBy is the identifier of the user who created this secret

description
string

Description is a human-readable description of the secret's purpose

id
string

ID is the unique identifier for this secret

last_updated_by
string

LastUpdatedBy is the identifier of the user who last updated this secret

name
string

Name is the name/key of the secret

object
string

Object is the type identifier for this response (always "secret")

updated_at
string

UpdatedAt is the ISO8601 timestamp when this secret was last updated