Skip to content

PartitionEmbeddingProbeResult

What a test call (PartitionEmbeddingProbeRequest) found. A failed test is still a 200 with this body: the failure is the answer. It carries only the measured width and a stable error code, never the provider’s response text.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
succeededbooleanTrue when the model embedded the test text at exactly expectedDimensions, a width Maitento can index: a partition can be indexed with this profile and these keys.
expectedDimensionsintegerThe width the profile resolves to, which every stored vector must have.
measuredDimensionsinteger | nullThe width the model actually returned; null when no vector came back at all.
measuredDimensionsIndexableboolean | nullWhether Maitento can index vectors of measuredDimensions: when a custom model’s test reports a mismatch, this says whether choosing the measured width instead would work. Null when nothing was measured.
errorCodestring | nullNull on success. Otherwise one of: api:embeddings:probe-dimension-mismatch, api:embeddings:probe-credential-rejected, api:embeddings:probe-model-not-found, api:embeddings:probe-endpoint-unreachable, api:embeddings:probe-quota-exceeded, api:embeddings:probe-rate-limited, api:embeddings:probe-timed-out or api:embeddings:probe-failed.
credentialIdstring | nullThe credentialId of the key the outcome came from (the last one tried).
{
"succeeded": false,
"expectedDimensions": 0,
"measuredDimensions": 0,
"measuredDimensionsIndexable": false,
"errorCode": "...",
"credentialId": "..."
}