> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/apps/b/bill/advanced-retrieve-your-organization-id.md).

# \[Advanced] Retrieve your Organization ID

You can obtain your **Organization ID** from your BILL point of contact. Alternatively, follow the instructions below to retrieve it yourself.

1. Navigate to your BILL instance (eg. <https://app02.us.bill.com/>)
2. Open your browser's **Developer Tools** (on Chrome, right click anywhere on the screen and select **Inspect**)

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FLgEd6uocyew41UZnCOQi%2FBillInspect.png?alt=media&amp;token=844128b7-b374-43b0-99bf-f58fa2176e45" alt="" width="563"><figcaption></figcaption></figure>

3. Select the **Network** tab. In the **Filter** field, enter `query?op=SessionInfo`

   <figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2F99XotOXmmVS716EJZPNR%2FQuery.png?alt=media&amp;token=c688f811-ede1-4d6d-aa6d-a3c112bbe95b" alt=""><figcaption></figcaption></figure>
4. Enter your email and password and log in to BILL
5. As BILL is authenticating, click `query?op=SessionInfo` in the **Name** column, then click on `data` and `sessionInfo` to expand them.

   <figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2Fhv7rFND4lhb261hgRVhE%2FSessionInfo.png?alt=media&amp;token=86c3ff3e-124d-400a-8650-d5e4d7f3d2a4" alt=""><figcaption></figcaption></figure>
6. Scroll down until you find `organizationId`, which should be an alphanumeric value that starts with `008`. Copy it. You're done!&#x20;


---

# 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.violetlabs.com/apps/b/bill/advanced-retrieve-your-organization-id.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.
