---
title: "GET /agent/{id}"
method: GET
path: "/agent/{id}"
tags: ["Agent"]
---

# GET /agent/{id}

`GET /agent/{id}`

Get an agent record.

## Path parameters

- `id` integer, required

## Query parameters

- `withScript` boolean

## Response `200`

Success

- object
  - `status` string
  - `data` object
    - `id` number
    - `name` string
    - `scriptId` number
    - `proxy` string
    - `proxyAddress` object
    - `proxyUsername` object
    - `proxyPassword` object
    - `disableWebSecurity` boolean
    - `ignoreSslErrors` boolean
    - `loadImages` boolean
    - `launch` string
    - `nbLaunches` number
    - `showDebug` boolean
    - `awsFolder` string
    - `executionTimeLimit` number
    - `fileMgmt` string
    - `fileMgmtMaxFolders` number
    - `lastEndMessage` string
    - `lastEndStatus` string
    - `maxParallelExecs` number
    - `userAwsFolder` string
    - `nonce` number
    - `script` object
      - `id` number
      - `name` string
      - `source` string
      - `url` object
      - `text` string
      - `httpHeaders` object

## Other responses

- `default` — Error

---

[API](https://skmtc.net/phantombuster/apis/phantombuster-api-v2.md) · [All operations](https://skmtc.net/phantombuster/apis/phantombuster-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phantombuster/phantombuster-api-v2/versions/acf0049d7c7f/schema)
