# Fetch one agent (full config)

> GET /agents/{id}. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/agents/get-agents-id-fetch-one-agent-full-config

GET https://server.heyrik.com/api/v1/agents/{id}

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

Returns everything: greeting/inbound_greeting, voice_settings, and the full config — including config.prompt_sections (the Conversation Flow), languages, personality, call_behavior, no_response, transfer, extracted_variables, post_call_webhook. Edit any of it with PATCH.

## Request example

```sh
curl https://server.heyrik.com/api/v1/agents/agc_9f2a1c30 \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```
