> [!NOTE]
> **Note:** The change described on this page will be released in phases:
>
> - Looker 24.20 (on December 4, 2024): Americas Early customers
> - Looker 25.0: Americas Mid customers
> - Looker 25.2: General Availability (GA)

The following Looker application API methods don't use a numeric `query_id` value or, in the case of the Query APIs, a numeric `id` value. The following methods use the query slug value instead.

- Look APIs:

  - [Copy Look](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/copy_look.md.txt)
  - [Create Look](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/create_look.md.txt)
  - [Get Look](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/look.md.txt)
  - [Move Look](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/move_look.md.txt)
  - [Search Looks](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/search_looks.md.txt)
  - [Update Look](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/update_look.md.txt)
  - [Get All Looks](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Look/all_looks.md.txt)
- Dashboard APIs:

  - [Search Dashboard Elements](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Dashboard/search_dashboard_elements.md.txt)
  - [Get DashboardElement](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Dashboard/dashboard_element.md.txt)
  - [Update DashboardElement](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Dashboard/update_dashboard_element.md.txt)
  - [Get All DashboardElements](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Dashboard/dashboard_dashboard_elements.md.txt)
  - [Create DashboardElement](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Dashboard/create_dashboard_element.md.txt)
- Render Task APIs:

  - [Create Look Render Task](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/RenderTask/create_look_render_task.md.txt)
  - [Create Query Render Task](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/RenderTask/create_query_render_task.md.txt)
  - [Create Dashboard Render Task](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/RenderTask/create_dashboard_render_task.md.txt)
  - [Get Render Task](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/RenderTask/render_task.md.txt)
  - [Create Dashboard Element Render Task](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/RenderTask/create_dashboard_element_render_task.md.txt)
- Scheduled Plan APIs:

  - [Scheduled Plans for Space](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/scheduled_plans_for_space.md.txt)
  - [Get Scheduled Plan](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/scheduled_plan.md.txt)
  - [Update Scheduled Plan](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/update_scheduled_plan.md.txt)
  - [Get All Scheduled Plans](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/all_scheduled_plans.md.txt)
  - [Create Scheduled Plan](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/create_scheduled_plan.md.txt)
  - [Scheduled Plans for Look](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/scheduled_plans_for_look.md.txt)
  - [Scheduled Plans for Dashboard](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/scheduled_plans_for_dashboard.md.txt)
  - [Scheduled Plans for LookML Dashboard](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/ScheduledPlan/scheduled_plans_for_lookml_dashboard.md.txt)
- Query APIs:

  - [Run Query Async](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/create_query_task.md.txt)
  - [Get Query](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/query.md.txt)
  - [Get Query for Slug](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/query_for_slug.md.txt)
  - [Create Query](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/create_query.md.txt)
  - [Run Query](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_query.md.txt)
  - [Get Merge Query](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/merge_query.md.txt)
  - [Create Merge Query](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/create_merge_query.md.txt)
  - [Get All Running Queries](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/all_running_queries.md.txt)

## What do I need to do?

The `query_id` field or, in the case of the Query APIs, the `id` field, is a string data type. The `query_id` or `id` fields now return a query slug value in the API response. That query slug value can then be used in any API requests.

For example, if you were to create a query with the **Create Query** API, the `id` would be the query slug in the response. You could then use that `id` to make a subsequent request.

If you have hard-coded numeric query ID values for any of the listed API methods, **you need to update your scripts to use query slug values**!

## How do I find the slug value for a query?

You can find the slug value for a query in the following ways:

- For an Explore, you can find the slug in the Explore's URL following the `qid=` variable in the URL.

- You can find the slug value that is associated with a numeric query ID using [System Activity](https://docs.cloud.google.com/looker/docs/usage-reports-with-system-activity-explores.md.txt).

  > [!NOTE]
  > **Note:** To view the System Activity Explores, you must have a [role](https://docs.cloud.google.com/looker/docs/admin-panel-users-roles.md.txt) that includes the [`see_system_activity` permission](https://docs.cloud.google.com/looker/docs/admin-panel-users-roles.md.txt#see_system_activity).

  1. From the Looker **Explore menu** , select the [**System Activity \> History** Explore](https://docs.cloud.google.com/looker/docs/usage-reports-with-system-activity-explores.md.txt#history).

  2. From the **Query** view, select the **ID** and **Link** dimensions.

  3. Optionally, add a filter on the **ID** dimension, and enter the query's numeric query ID in the **Query ID** filter field.

  4. Click **Run**.

     ![](https://docs.cloud.google.com/static/looker/docs/images/system-activity-get-slug-2420.png)
  5. Click the `[Query]` link next to the numeric query ID in the Explore results to open an Explore based on that numeric query ID.

  6. You can then use the slug in the Explore's URL, which follows the `qid=` variable in the URL.

## How can I tell if we use any of the updated API endpoints?

You can view a list of the API calls that were made to your Looker instance using the [API Usage System Activity Explore](https://docs.cloud.google.com/looker/docs/usage-reports-with-system-activity-explores.md.txt#api_usage).

1. From the Looker **Explore** menu, select the **System Activity** Explore, and then select the **API Usage** view.

2. Select the **Created Date \> Date** and **Endpoint** dimensions and the **Total Usage** measure.

3. Add a filter on the **Endpoint** dimension, and, in the filter field, include any of the updated endpoints listed at the beginning of this document that you want to search for.

4. Click **Run**. Looker will display usage information for those endpoints.

   ![](https://docs.cloud.google.com/static/looker/docs/images/sa-api-usage-2420.png)