Skip to content
Changelog

Report a bug

Gist integration: operations for AI agents

Gist connects to Type.com as an integration. This page lists the 20 operations documented for Claude and Codex in Type.com: 11 read, 5 write, 4 destructive.

About Gist

GitHub Gist is a service provided by GitHub that allows users to share code snippets, notes, and other text-based content. It supports both public and private gists, enabling easy sharing and collaboration.

Categories: Developer Tools & IT

How to connect Gist to Type.com

Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

20 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.

  • Read

    List gists for the authenticated user

    Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:

  • Read

    List public gists

    List public gists sorted by most recently updated to least recently updated. Note: With pagination, you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.

  • Read

    List starred gists

    List the authenticated user's starred gists:

  • Read

    Get a gist

    Gets a specified gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.

  • Read

    List gist comments

    Lists the comments on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.

  • Read

    Get a gist comment

    Gets a comment on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.

  • Read

    List gist commits

    GET /gists/{gist_id}/commits

  • Read

    List gist forks

    GET /gists/{gist_id}/forks

  • Read

    Check if a gist is starred

    GET /gists/{gist_id}/star

  • Read

    Get a gist revision

    Gets a specified gist revision. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.

  • Read

    List gists for a user

    Lists public gists for the specified user:

  • Write

    Create a gist

    Allows you to add a new gist with one or more files. [!NOTE] Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.

  • Write

    Update a gist

    Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged. At least one of description or files is required.

  • Write

    Create a gist comment

    Creates a comment on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.

  • Write

    Update a gist comment

    Updates a comment on a gist. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.

  • Write

    Fork a gist

    POST /gists/{gist_id}/forks

  • Destructive

    Delete a gist

    DELETE /gists/{gist_id}

  • Destructive

    Delete a gist comment

    DELETE /gists/{gist_id}/comments/{comment_id}

  • Destructive

    Star a gist

    Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see "HTTP method."

  • Destructive

    Unstar a gist

    DELETE /gists/{gist_id}/star

See How connections work for access and permissions, or browse all integrations.