Skip to content

roadmap

Propose a client roadmap

POST/v1/clients/{clientId}/roadmap/proposals

Records a new proposal for a client's roadmap: a dated snapshot of the client's devices, platforms, licenses, security posture and agreements, the questions that could not be answered, and up to 100 initiatives, each with a horizon, rationale, owner, one-time and monthly costs, supporting evidence and links to the client's opportunities, quotes, projects and action plans. An initiative can carry forward one from the client's accepted roadmap, so changes between roadmap versions are tracked per initiative. The proposal waits for a person to review it and accept it; it does not change the client's current roadmap. Any earlier proposal for the client that was never accepted is replaced. Every linked record and the owner must belong to this workspace, and the linked records to the same client. A client outside the workspace answers not_found. When an agent calls this, the call is held for a person's approval.

Parameters

NameInRequiredTypeDescription
clientIdpathYesstring—
Idempotency-KeyheaderYesstringOpaque idempotency key, at most 255 characters, scoped to (tenant, principal, operation). A missing key is validation_failed.

Request body

  • snapshotDate: string — The day the snapshot describes. Defaults to today (UTC).
  • devices (required): object — The client's devices: how many, how old, and of what kind.
  • stack (required): object — The platforms and vendors the client runs on today.
  • licenses (required): object — Licensed seat counts by product.
  • posture (required): object — A summary of the client's security posture on the snapshot date.
  • agreements (required): array — The client's active agreements with their end and renewal dates.
  • discoveryGaps: array — What could not be established when the snapshot was taken, each as a question to answer. Left unfilled rather than guessed.
  • narrative: object — The reasoning behind the roadmap, in prose.
  • initiatives (required): array — The initiatives, in the order they should be read.

Responses and errors

  • 200

    Propose a client roadmap

    • snapshot (required): object
    • initiatives (required): array
    • supersededProposalId (required): object — The earlier proposal this one replaced, or null.
  • 202

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ApprovalRequiredError:
    • allOf: ErrorEnvelope
  • 400

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ValidationFailedError:
    • allOf: ErrorEnvelope
  • 401

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnauthorizedError:
    • allOf: ErrorEnvelope
  • 403

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ForbiddenError:
    • allOf: ErrorEnvelope
  • 404

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • NotFoundError:
    • allOf: ErrorEnvelope
  • 409

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ConflictError:
    • allOf: ErrorEnvelope
  • 429

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • RateLimitedError:
    • allOf: ErrorEnvelope
  • 503

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnavailableError:
    • allOf: ErrorEnvelope

Example

curl --request POST \
  --url 'https://api.scopable.io/v1/clients/{clientId}/roadmap/proposals' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY' \
  --data '<JSON request body>'

Replace $SCOPABLE_API_KEY with a key created in Settings, API; replace the request body placeholder with JSON matching the schema above.

View the OpenAPI 3.1 source

Need help with the API? …