Skip to main content
GET
/
pages
/
{id_or_slug}
Fetch a page by id or slug
curl --request GET \
  --url https://api.neuraldraft.io/v1/pages/{id_or_slug} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 42,
    "slug": "about",
    "title": "About us",
    "type": "landing",
    "is_homepage": false,
    "is_active": true,
    "exclude_from_search": false,
    "meta_title": "About — Acme",
    "meta_description": "<string>",
    "og_title": "<string>",
    "og_description": "<string>",
    "og_image": "<string>",
    "canonical_url": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Path Parameters

id_or_slug
string
required

Response

OK

data
object