Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

fauna Query API

Execute Fauna Query Language (FQL) queries against a Fauna database.

fauna Query API is one of 9 APIs that fauna publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Query. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.

Requests are made against a single base URL, https://db.fauna.com.

1 operations 1 paths 4 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1
Base URL
https://db.fauna.com
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

fauna Query API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Fauna authentication secret passed as a bearer token. Secrets can be keys, tokens, or JWTs from third-party identity providers.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Query 1

Execute Fauna Query Language (FQL) queries against a Fauna database.

POST
/query/1
Execute an FQL query
executeQuery 7 params body → 200400401403409429440

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are QueryStats (8 properties), QueryResponse (7 properties), ErrorResponse (5 properties), QueryRequest (2 properties). Each schema is shown below with its type and property counts.

QueryResponse
object
7 properties
QueryRequest
object
2 properties 1 required
ErrorResponse
object
5 properties
QueryStats
object
Operational statistics for the query execution.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

fauna-query-api-openapi.yml Raw ↑

Other APIs fauna publishes across the network.

Fauna Event Streaming API
Fauna Event Feeds API
Fauna GraphQL API
Fauna JavaScript Driver
Fauna Python Driver
Fauna .NET Driver
fauna EventFeeds API
fauna Schema API