How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

APIs.io Engineering Platform D1 API

The D1 API from APIs.io Engineering Platform — 6 operation(s) for d1.

This API exposes 8 operations across 6 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 4.0.0.

Requests are made against the base URL https://api.cloudflare.com/client/v4.

8 operations 6 paths 18 schemas 1 DELETE2 GET5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
4.0.0
Base URL
https://api.cloudflare.com/client/v4
Authentication
API Key, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

APIs.io Engineering Platform D1 API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Email (api_email). An API key is passed in the header as X-Auth-Key (api_key). It accepts HTTP bearer tokens (api_token). An API key is passed in the header as X-Auth-User-Service-Key (user_service_key).

Paths & Operations 8

Across 6 paths, the API surfaces 8 operations — 1 DELETE, 2 GET, 5 POST. Each is listed below with its method, path, parameters, and response codes.

D1 8
GET
/accounts/{account_id}/d1/database
APIs.io Engineering Platform List D1 Databases
cloudflare-d1-list-databases 4 params → 4XX200
POST
/accounts/{account_id}/d1/database
APIs.io Engineering Platform Create D1 Database
cloudflare-d1-create-database 1 param body → 4XX200
DELETE
/accounts/{account_id}/d1/database/{database_id}
APIs.io Engineering Platform Delete D1 Database
cloudflare-d1-delete-database 2 params → 4XX200
GET
/accounts/{account_id}/d1/database/{database_id}
APIs.io Engineering Platform Get D1 Database
cloudflare-d1-get-database 2 params → 4XX200
POST
/accounts/{account_id}/d1/database/{database_id}/export
APIs.io Engineering Platform Export D1 Database as SQL
cloudflare-d1-export-database 2 params body → 4XX200202
POST
/accounts/{account_id}/d1/database/{database_id}/import
APIs.io Engineering Platform Import SQL into your D1 Database
cloudflare-d1-import-database 2 params body → 4XX200202
POST
/accounts/{account_id}/d1/database/{database_id}/query
APIs.io Engineering Platform Query D1 Database
cloudflare-d1-query-database 2 params body → 4XX200
POST
/accounts/{account_id}/d1/database/{database_id}/raw
APIs.io Engineering Platform Raw D1 Database query
cloudflare-d1-raw-database-query 2 params body → 4XX200

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are d1_query-meta (7 properties), d1_database-details-response (6 properties), d1_api-response-common-failure (4 properties), d1_api-response-common (4 properties). Each schema is shown below with its type and property counts.

d1_file-size
number
The D1 database's size, in bytes.
d1_database-name
string
d1_params
array
d1_database-version
string
d1_sql
string
Your SQL query. Supports multiple statements, joined by semicolons, which will be executed as a batch.
d1_messages
array
d1_api-response-common
object
4 properties 4 required
d1_table-count
number
d1_query-meta
object
7 properties
d1_database-identifier
string
d1_primary-location-hint
string
Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.
d1_query-result-response
object
3 properties
d1_database-response
object
4 properties
d1_account-identifier
string
Account identifier tag.
d1_raw-result-response
object
3 properties
d1_database-details-response
object
6 properties
d1_api-response-common-failure
object
4 properties 4 required
d1_created-at
string
Specifies the timestamp the resource was created as an ISO8601 string.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

engineering-platform-d1-api-openapi.yml Raw ↑
Where this information came from

This is an independent, third-party profile of APIs.io Engineering Platform D1 API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.