- Category: developer tools
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 2
- Triggers: 0
- Slug:
CONTENTFUL_GRAPHQL - Version: 20261101_00
Tools
Get CMA Token
Get CMA Token
GraphQL Content API Persisted Query
GraphQL Content API Persisted Query
Slug:
CONTENTFUL_GRAPHQL_GRAPH_QL_CONTENT_API_PERSISTED_QUERYExecute a GraphQL query using Automatic Persisted Queries (APQ). APQ reduces bandwidth by sending only a SHA256 hash instead of the full query text after initial registration. Workflow: 1. First request: Include both sha256_hash and query text to register the query 2. Subsequent requests: Send only sha256_hash and variables - the server uses the cached query Common errors: - PersistedQueryNotFound: Query not cached; include the full query text - PersistedQueryMismatch: Hash doesn’t match query text; recompute the hash - UNKNOWN_SPACE: Invalid space_id or access_token for the spaceInput Parameters
Full GraphQL query text. Include on first request to register the query; omit on subsequent requests to use cached version by hash only.
SHA256 hash of the exact GraphQL query text (64 hex characters). Compute with: echo -n ‘query text’ | sha256sum. Uppercase is auto-converted to lowercase.