---
title: "List session credential assignments"
method: GET
path: "/api/projects/{projectId}/sessions/{sessionId}/credentials"
tags: ["Credentials"]
---

# List session credential assignments

`GET /api/projects/{projectId}/sessions/{sessionId}/credentials`

List session credential assignments. Returns the requested resource or collection for the authenticated caller.

## Path parameters

- `projectId` string, required
- `sessionId` string, required

## Response `200`

Assignments

- SessionCredentialAssignmentsResponse — session Credential Assignments Response payload returned by the API.
  - `credentials` SessionCredentialAssignment[], required — Collection of credential values.
    - `credentialId` string, required — Credential identifier.
    - `agentVisible` boolean — agent Visible value for the session Credential Assignment object.
    - `visibility` CredentialVisibility — credential Visibility API object.
      - `tools` boolean, required — Collection of tool values.
      - `console` boolean, required — console value for the credential Visibility object.
      - `services` boolean, required — Collection of service values.
      - `hooks` boolean, required — Collection of hook values.

---

[API](https://skmtc.net/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.net/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/versions/4de3fcd6be56/schema)
