---
title: "Get a Slot Filler"
method: GET
path: "/v2.0/flows/{flowId}/slotfillers/{slotFillerId}"
tags: ["Slot Fillers"]
---

# Get a Slot Filler

`GET /v2.0/flows/{flowId}/slotfillers/{slotFillerId}`

## Request

- Base URL: `https://api-trial.cognigy.ai/testing`
- URL: `https://api-trial.cognigy.ai/testing/v2.0/flows/{flowId}/slotfillers/{slotFillerId}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
  - API key in header `x-cxone-authorization`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Password
    - Token URL: `/auth/oauth2/token`
- TypeScript: <https://skmtc.dev/cognigy/apis/simulator-openapi-rest-ful-api-reference/docs/v2.0/flows/:flowId/slotfillers/:slotFillerId/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a Slot Filler from a Flow.

## Path parameters

- `flowId` string, required
- `slotFillerId` string, required

## Headers

- `Accept` 'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'

## Response `200`

Returns SlotFiller Object

- object: The IEntityMeta defines meta information every entity within the system has. These are dates when a resource was created and modified as well as information about the user who initially created a resource and who modified it the last time.
  - `name` string: The display name of the Slot Filler.
  - `type` 'age' | 'date' | 'duration' | 'email' | 'intent' | 'slot' | 'money' | 'number' | 'percentage' | 'regex' | 'temperature': The type of the Slot Filler.
  - `usePositiveOnly` boolean: If set to `true`, extracts only Slots from predefined Keyphrases.
  - `storeResultInContext` boolean: If set to `true`, stores the result in the Context object.
  - `contextKey` string: The key used to store the result in the Context object.
  - `storeInContactProfile` boolean: If set to `true`, the result is stored in the Contact Profile.
  - `profileKey` string: The key used to store the result in the Contact Profile.
  - `storeDetailedResults` boolean: If set to `true`, stores metadata about the extracted Slot.
  - `skipIfResultInContext` boolean: If set to `true`, the user input isn't checked for the Slot that is already in the Context object.
  - `additionalValidation` string: The additional validation expression or script.
  - `resultLocation` string: Determines where to extract the Slot value from. By default, the Slot value is extracted from the user input. You can set a CognigyScript expression in this parameter to override the detected Slot value with a value from the [Input, Context, or Profile objects](/ai/agents/develop/ai-agent-memory/overview). This parameter works only if the user input is recognized and the CognigyScript expression doesn't resolve to a falsy value.
  - `regex` string: The regex pattern to extract specific data from the user input. Used only when the Slot Filler type is `regex`.
  - `slot` string: Specifies which Slot this Filler is associated with, for example, `date` or `airport_code`. Used only when the Slot Filler type is `slot`.
  - `referenceId` string, uuid
  - `_id` string
  - `createdAt` integer: Unix-timestamp
  - `lastChanged` integer: Unix-timestamp
  - `createdBy` string
  - `lastChangedBy` string

## Other responses

- `400`: The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing)
- `401`: The request has not been applied because it lacks valid authentication credentials for the target resource.
- `402`: Upgrade your Plan to increase your Quota.
- `403`: The server understood the request but refuses to authorize it.
- `404`: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
- `405`: The method received in the request-line is known by the origin server but not supported by the target resource.
- `409`: The request conflicts with current state of the server.
- `413`: The request entity is larger than limits defined by server.
- `500`: The server encountered an unexpected condition that prevented it from fulfilling the request.
- `501`: The server does not support the functionality required to fulfill the request.
- `502`: The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.
- `503`: The server is not ready to handle the request.
- `504`: The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.

---

[API](https://skmtc.dev/cognigy/apis/simulator-openapi-rest-ful-api-reference.md) - [All operations](https://skmtc.dev/cognigy/apis/simulator-openapi-rest-ful-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/cognigy/apis/simulator-openapi-rest-ful-api-reference/revisions/85b2872bdfb7?raw)
