Get started

Quickstart

Markdown

Five minutes from a key to a draft guide. You need a Sceniq Earth creator account.

1. Make a key

In the studio, open Settings, API keys, choose New key and tick what the key may do:

  • Read is always ticked: every key can read the creator's guides.
  • Write for building and editing guides. Agents need it, so it starts ticked; untick it for a key that only runs reports and checks.
  • Publish only if the agent should also put things live when you ask it to: a guide's changes or its first publish, sales pages, visibility, services. Publish needs Write, so ticking it ticks Write too.

The key is shown once. Keep it in an environment variable, never in a prompt or a file you share:

export SCENIQ_API_KEY="sk_sceniq_YOUR_KEY"

2. Ask who the key belongs to

curl https://sceniq.earth/api/v1/me \
  -H "Authorization: Bearer $SCENIQ_API_KEY"

The answer names the creator, the key's scopes, the request limits and every endpoint. whoami has the full response.

3. List your guides

curl https://sceniq.earth/api/v1/guides \
  -H "Authorization: Bearer $SCENIQ_API_KEY"

Each guide carries its productId, which every guide operation takes.

4. Create a draft guide

curl -X POST https://sceniq.earth/api/v1/guides \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "American West: Parks at First Light"}'

The guide starts as a draft that nobody else sees. Add spots with create_spot, group them with create_chapter, author their page stacks with set_chapter_pages, placing chapter spots on Spots pages (up to 500 per page and 500 distinct per chapter, with membership following page order), then run get_guide_readiness to see what is left before it can go on sale.

5. Let an agent do the rest

Most creators do not call the API by hand. Connect an agent and ask it to build the guide from your notes; it follows the authoring guide Sceniq Earth hands every agent.