Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Assets, prices, and documents

Request and response contracts for assets, prices, and documents.

Workflow guide · All REST endpoints · OpenAPI schema

Paths are relative to /api. Nested fields are required only within a supplied parent or the selected union variant. Arrays use []; numbered variants correspond to the schema’s union alternatives.

sdk-assets-list

Browse the asset universe or find an organization asset mapping

GET /v1/sdk/assets

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

cursor

query

no

string

limit

query

no

integer; minimum: 1; maximum: 100; default: 50

query

query

no

string; max length: 200

externalId

query

no

string; min length: 1; max length: 128

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

assets

yes

array of object; no extra fields

assets[]

yes

object; no extra fields

assets[].id

yes

string

assets[].category

yes

"EQUITY", "FUND", "CRYPTO_TOKEN", "CUSTOM"

assets[].name

yes

string

assets[].symbol

yes

string or null

assets[].externalId

yes

string or null

assets[].currency

yes

string or null

assets[].priceProvider

yes

"MARKET", "CUSTOM"

assets[].description

yes

string or null

assets[].exchange

yes

string or null

nextCursor

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-create

Create a reusable custom asset with an idempotent external ID

POST /v1/sdk/assets

Authentication: x-api-key for the organization.

JSON body

Required.

Field
Required in parent
Type and constraints
Description

externalId

yes

string; min length: 1; max length: 128

name

yes

string; min length: 1; max length: 200

symbol

yes

string; min length: 1; max length: 32

currency

yes

string; pattern: ^[A-Z]{3}$

description

no

string; max length: 20000

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

id

yes

string

category

yes

"EQUITY", "FUND", "CRYPTO_TOKEN", "CUSTOM"

name

yes

string

symbol

yes

string or null

externalId

yes

string or null

currency

yes

string or null

priceProvider

yes

"MARKET", "CUSTOM"

description

yes

string or null

exchange

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-get

Get an asset by its Motif ID

GET /v1/sdk/assets/{assetId}

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

id

yes

string

category

yes

"EQUITY", "FUND", "CRYPTO_TOKEN", "CUSTOM"

name

yes

string

symbol

yes

string or null

externalId

yes

string or null

currency

yes

string or null

priceProvider

yes

"MARKET", "CUSTOM"

description

yes

string or null

exchange

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-update

Set your asset reference, metadata or organization price provider

PATCH /v1/sdk/assets/{assetId}

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

JSON body

Required.

Field
Required in parent
Type and constraints
Description

name

no

string; min length: 1; max length: 200

description

no

string; max length: 20000

externalId

no

string; min length: 1; max length: 128 or null

currency

no

string; pattern: ^[A-Z]{3}$

priceProvider

no

"MARKET", "CUSTOM"

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

id

yes

string

category

yes

"EQUITY", "FUND", "CRYPTO_TOKEN", "CUSTOM"

name

yes

string

symbol

yes

string or null

externalId

yes

string or null

currency

yes

string or null

priceProvider

yes

"MARKET", "CUSTOM"

description

yes

string or null

exchange

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-putPrice

Write or correct a dated custom price and revalue affected accounts

PUT /v1/sdk/assets/{assetId}/prices

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

JSON body

Required.

Field
Required in parent
Type and constraints
Description

asOf

yes

string; format: "date-time"; ISO date-time pattern; see schema

revision

yes

integer; maximum: 2147483647; greater than: 0

unitPrice

yes

string; pattern: ^\d{1,12}(\.\d{1,8})?$

currency

yes

string; pattern: ^[A-Z]{3}$

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

asOf

yes

string

revision

yes

number

unitPrice

yes

string

currency

yes

string

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-prices

Read custom price history with exclusive time pagination

GET /v1/sdk/assets/{assetId}/prices

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

before

query

no

string; format: "date-time"; ISO date-time pattern; see schema

limit

query

no

integer; minimum: 1; maximum: 100; default: 50

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

prices

yes

array of object; no extra fields

prices[]

yes

object; no extra fields

prices[].asOf

yes

string

prices[].revision

yes

number

prices[].unitPrice

yes

string

prices[].currency

yes

string

nextBefore

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-createDocument

Create a private fact-sheet upload session

POST /v1/sdk/assets/{assetId}/documents

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

JSON body

Required.

Field
Required in parent
Type and constraints
Description

fileName

yes

string; min length: 1; max length: 255

mimeType

yes

"audio/mpeg", "audio/mp4", "audio/wav", "audio/webm", "audio/ogg", "audio/flac", "text/plain", "text/markdown", "text/csv", "application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "image/jpeg", "image/png", "image/webp", "image/gif"

sizeBytes

yes

integer; maximum: 20971520; greater than: 0

publishedAt

no

string; format: "date-time"; ISO date-time pattern; see schema

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

documentId

yes

string

uploadUrl

yes

string

headers

yes

object

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-finalizeDocument

Seal the uploaded document and enqueue ingestion

POST /v1/sdk/assets/{assetId}/documents/{documentId}/finalize

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

documentId

path

yes

string; min length: 1

Body

No body fields are declared. When sending Content-Type: application/json, send {}.

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

documentId

yes

string

assetId

yes

string

scope

yes

"ORG"

status

yes

"AWAITING_UPLOAD", "QUEUED", "EXTRACTING", "ANALYZING", "ANALYZED", "APPLYING", "COMPLETED", "FAILED"

error

yes

string or null

jobId

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

sdk-assets-document

Read document ingestion status and asset association

GET /v1/sdk/assets/{assetId}/documents/{documentId}

Authentication: x-api-key for the organization.

Parameters

Name
Location
Required
Type and constraints

assetId

path

yes

string; min length: 1

documentId

path

yes

string; min length: 1

Response 200

Root value: object; no extra fields.

Field
Required in parent
Type and constraints
Description

documentId

yes

string

assetId

yes

string

scope

yes

"ORG"

status

yes

"AWAITING_UPLOAD", "QUEUED", "EXTRACTING", "ANALYZING", "ANALYZED", "APPLYING", "COMPLETED", "FAILED"

error

yes

string or null

jobId

yes

string or null

Failures: see Errors and retries. A valid schema does not imply access to the referenced organization, user, asset, or portfolio.

Last updated