Neynar · Example Payload

List Secrets

Retrieves all secrets for a deployment.

studio

List Secrets is an example object payload from Neynar, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "list-secrets",
  "method": "GET",
  "path": "/v2/studio/deployment/secrets/",
  "summary": "List deployment secrets",
  "description": "Retrieves all secrets for a deployment.",
  "tags": [
    "studio"
  ],
  "parameters": [
    {
      "name": "deployment_id",
      "in": "query",
      "required": true,
      "description": "Deployment ID to list secrets for",
      "schema": {
        "format": "uuid",
        "type": "string"
      }
    },
    {
      "name": "key",
      "in": "query",
      "required": false,
      "description": "Optional filter by environment variable name",
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "Success",
      "schema": {
        "properties": {
          "secrets": {
            "items": {
              "properties": {
                "id": {
                  "description": "Environment variable ID",
                  "type": "string"
                },
                "key": {
                  "description": "Environment variable name",
                  "type": "string"
                },
                "preview": {
                  "description": "Masked preview of the secret value (e.g. \"sk_l\u2026t1b3\")",
                  "type": "string"
                },
                "type": {
                  "description": "Whether this is a system-managed or user-defined variable",
                  "enum": [
                    "system",
                    "user"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "key",
                "id",
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "success": {
            "enum": [
              true
            ],
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "secrets"
        ],
        "type": "object"
      },
      "example": null
    },
    "404": {
      "description": "Resource not found",
      "schema": {
        "$ref": "#/components/schemas/ErrorRes"
      },
      "example": null
    },
    "500": {
      "description": "Server Error",
      "schema": {
        "$ref": "#/components/schemas/ErrorRes"
      },
      "example": null
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/list-secrets"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.