workspaces

Get Current Workspace Encrypted Secrets

Changed on

Get encrypted workspace secrets for use with Fleet and external services.

get/api/v1/workspaces/current/secrets/encrypted

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/workspaces/current/secrets/encrypted
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Query parameters

service'agent_builder' | 'polly' required

Service requesting encrypted secrets

key_namesstring[] nullable

Optional list of workspace secret keys to return

expand_iam_roleboolean

If true, expand AWS_IAM_ROLE_ARN into temporary credentials via STS

Response

Successful Response

encrypted_secretsstring required
tenant_idstring uuid nullable

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • info

      added the optional property to the response with the status