Skip to main content

configModels

Requires permission biddesk:assembly:read.

Configuration models with their versions newest first, optionally of one assembly. Requires Bid Desk and permission to read assemblies.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query ConfigModels {
configModels {
id
name
createdAt
assemblyProductId
updatedAt
version
versions {
id
status
createdAt
baseBomVersionId
definition
definitionHash
}
}
}

Response:

{
"data": {
"configModels": [
{
"id": "id",
"name": "string",
"createdAt": "2025-01-15T00:00:00Z",
"assemblyProductId": "id",
"updatedAt": "2025-01-15T00:00:00Z",
"version": 0,
"versions": [
{
"id": "id",
"status": "DRAFT",
"createdAt": "2025-01-15T00:00:00Z",
"baseBomVersionId": "id",
"definition": {},
"definitionHash": "string"
}
]
}
]
}
}
configModels(
assemblyProductId: ID
): [ConfigModel!]!

Arguments​

configModels.assemblyProductId ● ID scalar​

Only the model of this assembly product.

Type​

ConfigModel object​

An assembly's configuration model (at most one per assembly) and its live versions, newest first.