sites
List sites Every site of the workspace, newest first, with its address, plan, draft revision and what is published.
GET /v1/sites
Requires sites:read. Costs no credits.
Start here to get a site_id. A site’s published is null until its first publication, and guest is true for a site an agent prepared that nobody has claimed yet.
Authorizations Authorizationbearer in header required
dataobject[] required
Show child attributes data. statusenum<string> required one of: creating, ready, suspended, deleting
data. planenum<string> required one of: free, site
data. urlstring required
Where visitors find the site: its main custom domain, or its atelier201.page address.
data. platform_urlstring required
data. guestboolean required
Prepared by an agent before sign-in and not claimed yet: it can be previewed, not published.
data. draftobject required
Show child attributes data.draft. revisionstring | null required
data.draft. updated_atstring | null required
data. publishedobject | null required
Show child attributes data.published. build_idstring required
data.published. generationinteger required range: -9007199254740991–9007199254740991
data.published. published_atstring | null required
data. generationinteger required range: -9007199254740991–9007199254740991
Increases with every publish, rollback or unpublish. Send it back as expected_generation.
data. cover_atstring | null required
When the picture of the home page that the app shows on the site's card was last taken, after a build of the site. Null before the first one.
data. created_atstring required
data. updated_atstring required
Possible codes: invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: insufficient_credits
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: insufficient_scope, feature_not_available, admin_required
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: resource_not_found
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: conflict, result_not_ready, idempotency_key_reused
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: result_expired
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: request_too_large
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: request_too_large_for_plan
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: rate_limited
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: internal_error
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>
Possible codes: service_unavailable
errorobject required
Show child attributes error. messagestring required
error. docs_urlstring required
error. action_urlstring<uri>
error. detailsRecord<string, object>