# Agent

Search API v0.6.5 · 2 operations
Source: https://plas.redia.dk/en/search/v0.6.5/agent/

No description in the specification.

## Get agents

`GET` `/agent` · `GetAgents`

### Parameters

- `agent_ids` (In `query`, `array of string`, required) — A list of agent IDs, agent IDs should be url encoded and separated by a comma.

That means that, if you have e.g. three agent IDs "agent-123", "agent-456,abcd" and "789101112", they should be sent as: "agent_ids=agent-123,agent-456%2Cabcd,789101112".


Shared across operations: `ui_language`, `version`. [See the shared contract on the version page.](https://plas.redia.dk/en/search/v0.6.5/)

### Responses

- `200` [`GetAgentsResponseBody`](https://plas.redia.dk/en/search/v0.6.5/schemas/#GetAgentsResponseBody) — Success

Error responses: 400 · 401 · 404 — [See the shared contract on the version page.](https://plas.redia.dk/en/search/v0.6.5/)

## Search Agents

`GET` `/agent/search` · `SearchAgents`

### Parameters

- `query` (In `query`, `string`, optional) — Search agents.
- `page` (In `query`, `integer`, optional) — Page number (default 1).
- `size` (In `query`, `integer`, optional) — Page size (default 10).
- `types` (In `query`, `array of string`, optional) — List of agents types allowed in result.

Shared across operations: `ui_language`, `version`. [See the shared contract on the version page.](https://plas.redia.dk/en/search/v0.6.5/)

### Responses

- `200` [`SearchAgentsResponseBody`](https://plas.redia.dk/en/search/v0.6.5/schemas/#SearchAgentsResponseBody) — Success

Error responses: 400 · 401 · 404 — [See the shared contract on the version page.](https://plas.redia.dk/en/search/v0.6.5/)
