> ## Documentation Index
> Fetch the complete documentation index at: https://docs.api.rask.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# segment_not_found

> Segment not found: HTTP 404 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 404 | `none` | `fix_request` |

## What happened

Segment not found. For example: No segment with this id exists in the key's workspace.

## What to do

Use an id returned by listSegments for this workspace.

`fix_request`: change the request or its inputs; sent unchanged it fails again.

`none`: do not retry the request unchanged.

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/segment_not_found",
  "title": "Segment not found",
  "status": 404,
  "detail": "No segment with this id exists in the key's workspace.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "segment_not_found",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Use an id returned by listSegments for this workspace.",
  "errors": []
}
```

## Operations that return it

* [deleteSegment](https://docs.api.rask.ai/operations/deleteSegment.md)
* [generateSegments](https://docs.api.rask.ai/operations/generateSegments.md)
* [getSegment](https://docs.api.rask.ai/operations/getSegment.md)
* [mergeSegments](https://docs.api.rask.ai/operations/mergeSegments.md)
* [retranslateSegments](https://docs.api.rask.ai/operations/retranslateSegments.md)
* [selectTranslationVariant](https://docs.api.rask.ai/operations/selectTranslationVariant.md)
* [splitSegment](https://docs.api.rask.ai/operations/splitSegment.md)
* [updateSegment](https://docs.api.rask.ai/operations/updateSegment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.