latestOpenAPI 3.1.02026-08-221163801019.2 KB

f0f28319e448

Simulation

Get simulation persona versions

Retrieve versions of a simulation persona.

Permissions

This endpoint requires the following permissions:

  • Simulation:GetSimulationPersona for the simulation persona.
get/v1/{organization}/simulation/persona/{simulation_persona_id}/version/

Path parameters

organizationstring required
simulation_persona_idstring required

The ID of the simulation persona to get versions for.

The ID of the simulation persona to get versions for.

Query parameters

versionstring nullable

The versions of the simulation persona to retrieve. One can specify an exact version to retrieve, which is either the version number or latest, which retrieves the latest version. Alternatively, one can specify a range of inclusive lower and upper bound for the version number separated by -, and every version within the range would be retrieved.

Example:1

The versions of the simulation persona to retrieve. One can specify an exact version to retrieve, which is either the version number or latest, which retrieves the latest version. Alternatively, one can specify a range of inclusive lower and upper bound for the version number separated by -, and every version within the range would be retrieved.

limitinteger

The maximum number of simulation persona versions to return.

The maximum number of simulation persona versions to return.

continuation_tokeninteger

The continuation token from the previous request used to retrieve the next page of simulation persona versions.

The continuation token from the previous request used to retrieve the next page of simulation persona versions.

sort_bystring[]

The fields to sort the versions by. Supported fields are version. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.

The fields to sort the versions by. Supported fields are version. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.

Headers

x-mongo-cluster-namestring nullable

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

Sec-WebSocket-Protocolstring[]

Response

Succeeded.

has_moreboolean required

Whether there are more simulation persona versions to fetch.

{"stackTrail":"components:schemas:src__app__endpoints__simulation__get_simulation_persona_versions__Response:properties:continuation_token:anyOf","oasType":"schema","type":"unknown","title":"Continuation Token","description":"A token to supply to the next request to retreive the next page of simulation persona versions.","nullable":true}