Fastly · Schema

Token

An API token used to authenticate requests to the Fastly API on behalf of a specific user.

CDNEdge CloudEdge ComputeWebAssemblySecurityArtificial IntelligenceObservabilityAsyncAPIStreamingWebhookLogging

Properties

Name Type Description
id string The alphanumeric string identifying the token.
name string The name of the token.
user_id string The alphanumeric string identifying the user the token belongs to.
customer_id string The alphanumeric string identifying the customer.
scope string A space-delimited list of authorization scopes.
services array A list of service IDs the token is scoped to.
access_token string The token value used for authentication. Only returned on creation.
ip string The IP address of the client that last used the token.
last_used_at string The date and time the token was last used.
expires_at string The date and time the token expires.
created_at string The date and time the token was created.
View JSON Schema on GitHub

JSON Schema

fastly-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Token",
  "title": "Token",
  "type": "object",
  "description": "An API token used to authenticate requests to the Fastly API on behalf of a specific user.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The alphanumeric string identifying the token."
    },
    "name": {
      "type": "string",
      "description": "The name of the token."
    },
    "user_id": {
      "type": "string",
      "description": "The alphanumeric string identifying the user the token belongs to."
    },
    "customer_id": {
      "type": "string",
      "description": "The alphanumeric string identifying the customer."
    },
    "scope": {
      "type": "string",
      "description": "A space-delimited list of authorization scopes."
    },
    "services": {
      "type": "array",
      "description": "A list of service IDs the token is scoped to.",
      "items": {
        "type": "string"
      }
    },
    "access_token": {
      "type": "string",
      "description": "The token value used for authentication. Only returned on creation."
    },
    "ip": {
      "type": "string",
      "description": "The IP address of the client that last used the token."
    },
    "last_used_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the token was last used."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "The date and time the token expires."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the token was created."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/fastly-token"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.