> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orgo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get public URL password

> A public URL's password, and the cookie that opens it.

Returns the password and the cookie its form sets. A program that opens the URL can send the cookie instead of filling in the form:

```bash theme={null}
curl https://cool-thing-x7k2.orgo.dev \
  -H "Cookie: __Host-orgo_pass=$COOKIE_VALUE"
```

The cookie works until the password changes. Both fields are `null` when anyone can open the URL.

A key limited to one computer can't call this.


## OpenAPI

````yaml GET /computers/{id}/public-urls/{urlId}/password
openapi: 3.1.0
info:
  title: Orgo API
  description: >-
    Launch cloud computers that AI agents can control and interact with. Create
    workspaces, provision computers, and control them programmatically.
  version: 2.0.0
  contact:
    name: Orgo Support
    email: contact@orgo.ai
    url: https://orgo.ai
servers:
  - url: https://www.orgo.ai/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Support
    description: >-
      Orgo’s support agent, for programs: ask how to do something in Orgo and
      get an answer with full URLs and copyable commands.
  - name: Account
    description: >-
      Account capacity: how many computers an account may run, and adding or
      giving back more.
  - name: Agent accounts
    description: >-
      Accounts an AI agent makes for itself, and the claim link a person uses to
      take one over.
  - name: Clients
    description: >-
      Run Orgo for your clients from your own app: a workspace and scoped key
      each, billed to you or to them.
  - name: Workspaces
    description: Organize computers into named workspaces
  - name: Computers
    description: Provision and manage virtual computers
  - name: Public URLs
    description: Share an app running on a computer at an https address on orgo.dev.
  - name: Computer Lifecycle
    description: Start, stop, and restart computers
  - name: Computer Actions
    description: Control mouse, keyboard, and execute commands
  - name: Screens
    description: >-
      More than one desktop on a single computer. Each screen is its own X
      server with its own cursor and window manager, so an agent working on one
      cannot disturb another.
  - name: Files
    description: Upload and download files
  - name: Templates
    description: Author, build, and launch reproducible computers from templates
  - name: Chat
    description: Run an agent on a computer through OpenAI-compatible chat completions.
  - name: Workflows
    description: >-
      Routines that run the same way every time: a start, then steps. Make them
      from plain words or lines, check them, run them and follow their runs (in
      preview).
paths:
  /computers/{id}/public-urls/{urlId}/password:
    get:
      tags:
        - Public URLs
      summary: Get public URL password
      description: >-
        Returns the URL's password and the cookie that opens it. A client that
        opens the URL itself can send `Cookie: __Host-orgo_pass=<value>` instead
        of filling in the form. The cookie works until the password changes.
        Both are `null` when anyone can open the URL. Needs the **Computers**
        write permission; a key limited to one computer cannot call it.
      operationId: getPublicUrlPassword
      parameters:
        - name: id
          in: path
          required: true
          description: Computer ID. Accepts the computer's UUID or its `instance_id`.
          schema:
            type: string
        - name: urlId
          in: path
          required: true
          description: >-
            The public URL's `id`, from [List public
            URLs](/api-reference/public-urls/list).
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The password and cookie, or `null`s.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicUrlPassword'
              example:
                password: k7Rm2qX
                cookie:
                  name: __Host-orgo_pass
                  value: q2v8Yt0b3m5JcVQ1oVJ0eW9oYkZ6a1lLd3BvT2hYcEk
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: No access to this computer, or view-only access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found on this computer, or public URLs are off for your account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PublicUrlPassword:
      type: object
      required:
        - password
        - cookie
      properties:
        password:
          type:
            - string
            - 'null'
          description: The password, or `null` when anyone can open the URL.
        cookie:
          type:
            - object
            - 'null'
          required:
            - name
            - value
          description: >-
            The cookie the password form sets. Send it to open the URL without
            the form. `null` when anyone can open the URL.
          properties:
            name:
              type: string
              enum:
                - __Host-orgo_pass
            value:
              type: string
    Error:
      type: object
      description: >-
        The base error body. Every failure carries `error`; individual endpoints
        add the fields named in the schemas below.
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable message.
          example: Access denied
        code:
          type: string
          description: >-
            Machine-readable reason. Present on the failures that define one,
            absent otherwise.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Get your key at orgo.ai/workspaces

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.