Draft my time day

Persists a versioned proposal from fully attributed, conflict-free DigitalStack work sessions. Unresolved evidence stays unresolved and this operation never creates actual time.

POST/api/v1/time-days/:date/draft

Authorization

time:write_selfapi key scoperequired
Required scope when calling with an API key.

Path parameters

datestringrequired
YYYY-MM-DD or today in the account timezone

Example: today

Request body

Example request
{}

Request

curl -X POST "https://www.digitalstack360.com/api/v1/time-days/today/draft" \
  -H "Authorization: Bearer $DS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.

Response

200 OK
{
  "data": {
    "id": "draft_01k2...",
    "work_date": "2026-07-14",
    "state": "draft",
    "version": 1,
    "blocks": [],
    "unresolved_session_ids": []
  },
  "meta": {
    "proposal_only": true,
    "self_scoped": true
  }
}

Errors

401
missing_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked

400
bad_request

Missing or invalid request fields

403
scope_insufficient

Key lacks the required write scope

400
invalid_date

date is not today or a real YYYY-MM-DD date