Model Notes

List Model Notes

get

Retrieves a paginated list of notes associated with a model. Note: Model variables, filter values, and notes can all be attached to different entity types via model_type and model_id.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[user_id]stringOptional

Filter results by user_id.

filter[my_notes]stringOptional

Filter results by my_notes.

filter[model_type]stringOptional

Filter results by model_type.

filter[model_id]stringOptional

Filter results by model_id.

includestringOptional

Comma-separated list of relationships to include. Available: flowStep, user

sortstringOptional

Sort field. Prefix with - for descending. Available: id, created_at

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/model-notes

Create Model Note

post

Creates a new note for a model. Note: Model variables, filter values, and notes can all be attached to different entity types via model_type and model_id.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Body
notestring · min: 1 · max: 65535Required
privatestringOptional
patchworks_onlystringOptional
model_typestringRequired
model_idintegerRequired
colourstring · enumRequiredPossible values:
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/model-notes

Get Model Note

get

Retrieves the details of a specific model note. Note: Model variables, filter values, and notes can all be attached to different entity types via model_type and model_id.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
model_notestringRequired

The model note identifier.

Query parameters
filter[user_id]stringOptional

Filter results by user_id.

filter[my_notes]stringOptional

Filter results by my_notes.

filter[model_type]stringOptional

Filter results by model_type.

filter[model_id]stringOptional

Filter results by model_id.

includestringOptional

Comma-separated list of relationships to include. Available: flowStep, user

sortstringOptional

Sort field. Prefix with - for descending. Available: id, created_at

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/model-notes/{model_note}

Update Model Note

put

Updates an existing model note. Note: Model variables, filter values, and notes can all be attached to different entity types via model_type and model_id.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
model_notestringRequired

The model note identifier.

Body
notestring · min: 1 · max: 65535Optional
privatestringOptional
patchworks_onlystringOptional
colourstring · enumOptionalPossible values:
Responses
chevron-right
200

Successful response

application/json
put
/api/v1/model-notes/{model_note}

Delete Model Note

delete

Permanently deletes a specific model note. Note: Model variables, filter values, and notes can all be attached to different entity types via model_type and model_id.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
model_notestringRequired

The model note identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/model-notes/{model_note}

Last updated

Was this helpful?