Get the suites on publish

SDK platic.agents.evals.onPublish.get()

Check which suites run after the agent is published. To change the suiteIds list, use Choose the suites on publish. These tests run afterwards and do not block publishing.

Example

await platic.agents.evals.onPublish.get("agent_123");

Path parameters

ParameterTypeDescriptionRequired
agentIdstringAgent ID✓

Response

{
  "status": "success",
  "data": {
    "suiteIds": ["s8Kd2LmQ"],
    "updatedAt": "2026-10-31T18:05:52.000Z"
  }
}

Response fields

FieldDescription
suiteIdsThe suites that run on publish. Empty if none is connected.
updatedAtDate of the last change, ISO 8601.

Errors

Statusdetails.codeWhen
404AGENT_NOT_FOUNDThe agent does not exist or belongs to another workspace.

Notes

  • If it was never changed: suiteIds: [] and updatedAt: null.
  • This list belongs to the agent, but it is not part of its versions: it changes immediately, without publishing. To change it, use Choose the suites on publish.
  • Read access to the agent is enough.