API tokens are used to authenticate requests

Use tokens to publish tools from CI/CD pipelines or access private tools programmatically.

Name Permissions Last Used Created Expires
CI/CD Pipeline
gt_****7f2a
read write 2 hours ago Jan 15, 2024 Never
Local Development
gt_****3e91
read Yesterday Jan 10, 2024 Apr 10, 2024
Old Token expired
gt_****8b4c
read write 1 month ago Dec 1, 2023 Jan 1, 2024

Using API Tokens

Authentication Header

curl -H "Authorization: Bearer gt_your_token_here" \
  https://get.tool.ab0t.com/api/v1/tools

Environment Variable

export GETTOOL_TOKEN="gt_your_token_here"
get-tool publish my-tool

GitHub Actions

- name: Publish to get.tool
  env:
    GETTOOL_TOKEN: ${{ secrets.GETTOOL_TOKEN }}
  run: |
    curl -X POST \
      -H "Authorization: Bearer $GETTOOL_TOKEN" \
      -F "file=@./script.sh" \
      https://get.tool.ab0t.com/api/v1/tools/my-tool/versions