Skip to Content
EquinoxAPI and integrationsPublic M2M APIPublic M2M API — market-analysis

Public M2M API — market-analysis

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/market-analysis

Exported methods: GET, POST

GET

  • Resource scopes: market-analysis:read
  • Response keys observed across outcomes: analyses, availableFrameworks, segments, tenantId

POST

  • Resource scopes: market-analysis:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: invalid_request, market_analysis_failed, onboarding_incomplete
  • Response keys observed across outcomes: analysis

This table describes the validated form after server-side normalization; submitted aliases or omissions can be handled differently by this route.

A string id together with planMarkdown or planTitle selects the plan update schema; otherwise the create schema applies. For creation, an absent or unrecognized frameworkKey is replaced by the first available framework or tam_sam_som.

JSON properties observed: frameworkKey, id, planMarkdown, planTitle.

These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.

The handler uses multiple observed validation schemas. These tables are not a merged schema; branch selection and unvalidated paths may have different inputs.

Observed validation schema 1

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
planTitlestringYesYes—max(200)
planMarkdownstringYesYes—max(200_000)
copilotArtifactsarrayYesNo—max(40)

Observed validation schema 2

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
namestringNoNo—min(1), max(120)
frameworkKeystringNoNo——
sectorKeysarrayYesNo——
segmentIdsarrayYesNo——
periodMonthsnumberYesNo—int(), min(1), max(120), default(12)
minSampleSizenumberYesNo—int(), min(0), max(1000), default(5)