> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/fabricate/projects/project-versions/project-version-urls.md).

# Getting the project version URLs

## About the project URLs <a href="#project-urls-about" id="project-urls-about"></a>

To call a project's mock API or workflow, you use the URL for the project version.

To use the published version, the URLs are:

* **API:** `{instance}/api/v1/workspaces/{workspace}/projects/{project}/api`
* **Workflows:** `{instance}/api/v1/workspaces/{workspace}/projects/{project}/workflows`

To use a specific version, the URLs are:

* **API:** `{instance}/api/v1/workspaces/{workspace}/projects/{project}/versions/{version}/api`
* **Workflows:** `{instance}/api/v1/workspaces/{workspace}/projects/{project}/versions/{version}/workflows`

For example, to specifically call `v3` of `myproject` in `workspace1`:

* **API:** `{instance}/api/v1/workspaces/workspace1/projects/myproject/versions/v3/api`
* **Workflows:** `{instance}/api/v1/workspaces/workspace1/projects/myproject/versions/v3/workflows`

A draft version always uses the URL for its version, even when there is no published version.

## Viewing the project URLs <a href="#project-urls-view" id="project-urls-view"></a>

On the project overview, the **URLs** section displays a set of project URLs.

<figure><img src="https://4109733485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmoU4gTR9LxlzHeWmQCUZ%2Fuploads%2FXb0obBxFTf375vWv2YAk%2FProject_VersionURLs.png?alt=media&amp;token=eaef0c69-e76b-4c6f-8222-f0a61813367d" alt=""><figcaption><p>URLs section of the project overview page</p></figcaption></figure>

The displayed URLs vary based on the project version that you are viewing.

<table><thead><tr><th valign="top">Displayed version</th><th valign="top">Displayed URLs</th></tr></thead><tbody><tr><td valign="top">Draft version - no published version</td><td valign="top">Draft version URLs</td></tr><tr><td valign="top">Draft version - published version available</td><td valign="top"><p>Draft version URLs</p><p>Published version URLs</p></td></tr><tr><td valign="top">Published version</td><td valign="top">Published version URLs</td></tr><tr><td valign="top">Prior version</td><td valign="top"><p>Published version URLs</p><p>Displayed version URLs</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tonic.ai/fabricate/projects/project-versions/project-version-urls.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
