# Request to retry failed trips

This service can be used to initiate a retry for sending trip data for all trips that did not successfully reach your service.

As mentioned in the [push trip data sectio](https://docs.drivequant.com/push-services/push-data#automatic-retry)n, if your service is down or fails to accept trip data, the system will automatically retry pushing the data the following day. However, we understand that you may need the data sooner. In such cases, we recommend using this service.

This operation is asynchronous. The response contains the number of trips that will be sent again, along with a unique task identifier, which can be used to [monitor the progress of the retry](/enterprise/monitoring/get-the-status-of-a-task.md).

If a task is already in progress, the service will return an error.

{% hint style="info" %}
If you have your **enterprise API key**, you can try the API via this [**link**](https://drivequant.stoplight.io/docs/drivequant-public/d149e4e7e341a-request-the-retry-of-failed-trips)**.**
{% endhint %}

{% openapi src="/files/QrSUgdcQKHBox7TTfgGW" path="/push/trips/failed/retry" method="post" %}
[Enterprise.yaml](https://2525923625-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXYIG5U3AO65YYFWJRK%2Fuploads%2FTTiLeuGg8U59w9k5PwxD%2FEnterprise.yaml?alt=media\&token=068f1889-59e6-4bc6-8b74-7a985dfce3cb)
{% endopenapi %}

### Response

The table below summarizes the response parameters.

<table><thead><tr><th width="186">Name</th><th width="135">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>taskId</code></td><td><code>string</code></td><td>Unique identifier of the created task</td></tr><tr><td><code>nbItems</code></td><td><code>integer</code></td><td>Number of trips that will be sent again (previously in a <code>FAILED</code> state)</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.drivequant.com/enterprise/monitoring/request-to-retry-failed-trips.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
