# Service exists

Check whether a service exists.

Returns: Detailed information about the latest version of the Spark service.

{% code overflow="wrap" %}

```shellscript
GET /{tenant}/api/v3/folders/{folder}/services/{service}/exists
```

{% endcode %}

### Authorization

* `Bearer {token}` accessible from [Authorization - Bearer token](/spark-apis/authorization-bearer-token.md) or systematically via [Client Credentials](/identity-and-access-management/client-credentials.md).
  * The request headers should include a key for `Authorization` with the value `Bearer {token}`.
* API key created from [Authorization - API keys](/spark-apis/authorization-api-keys.md).\
  The [Authorization - API keys](/spark-apis/authorization-api-keys.md#api-key-groups) must contain [Manage users](/tenant-administration/manage-users.md#user-groups) that are also assigned to [Permissions - Features permissions](/spark-apis/authorization-api-keys/permissions-features-permissions.md) `Spark.ServiceExists.json` or `Spark.AllEncompassingProxy.json`.
  * The request headers should include the keys `x-synthetic-key` and `x-tenant-name` with the values of the API key and tenant name respectively.

### Path parameters

| Key          | Value                                                                                                                                                                                  |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `tenant` \*  | Tenant is part of your [Login and logout](/navigation/login-and-logout.md#log-in-to-spark) URL and also available in the  [Navigation menu](/navigation/navigation-menu.md#user-menu). |
| `folder` \*  | Folder associated with the request.                                                                                                                                                    |
| `service` \* | Service associated with the request.                                                                                                                                                   |

### Sample response

`HTTP 200 OK` `Content-Type: application/json`

<table><thead><tr><th>Service exists</th><th>Service does not exist</th></tr></thead><tbody><tr><td><pre class="language-json"><code class="lang-json">{
    "status": "Success",
    "response_data": {
        "id": "6845025a-3bb2-4dfe-b1dc-c3d6eb7f23e2",
        "name": "AplusB",
        "is_exists": true,
        "version": "0.2.0",
        "last_modified_date": "2026-03-26T03:28:47.000Z",
        "latest_version_id": "2d67f048-3cde-4801-b11f-cfd7e1702e5a",
        "effective_start_date": "2025-01-24T07:32:00Z",
        "effective_end_date": "2125-01-24T07:32:00Z",
        "tags": "",
        "service_status": "active"
    },
    "response_meta": {
        "system": "SPARK",
        "request_timestamp": "2026-04-23T05:36:44.788Z"
    },
    "error": null
}
</code></pre></td><td><pre class="language-json"><code class="lang-json">{
    "status": "Success",
    "response_data": {
        "id": null,
        "name": null,
        "is_exists": false,
        "version": null,
        "last_modified_date": null,
        "latest_version_id": null,
        "effective_start_date": null,
        "effective_end_date": null,
        "tags": null,
        "service_status": null
    },
    "response_meta": {
        "system": "SPARK",
        "request_timestamp": "2026-04-23T05:40:10.364Z"
    },
    "error": null
}
</code></pre></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.coherent.global/spark-apis/service-apis/service-exists.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.
