Documentation
  • 👋Welcome to Documentation
  • 📖Glossary
  • ❓FAQs
  • General
    • Getting set up
      • Single-user organization
      • Multi-user organization
    • Supported Document Types
  • Platform Walkthrough
    • Dashboard
    • Queue
    • Configuration
    • Supervision
  • User guide How Tos
    • User Management
      • How to invite a new user to the platform?
      • How can I manage existing users?
    • Processes
      • How to create a supervised process or use the template?
      • How to create a custom process?
    • Supervision
      • How to add, assign, and remove annotations?
      • How to edit the value of the extraction?
      • How to open and edit a table mask?
      • How to open, edit, or remove the extracted table?
      • How to export your data via Supervision?
      • How to copy values and tables?
    • Upload
    • Converters
    • Data points definition
    • Data Export
    • Table Data Extraction
    • Enrichment
    • Generating new API key
  • Integrations
    • Zapier Integration
      • Quickstart
      • Alphamoon as a Trigger
      • Alphamoon as an Action
    • Google Sheets - Export
  • Features
    • Continuous Learning (Beta)
    • Document Splitting
  • API
    • Introduction
    • Quickstart
    • Organization API keys (Beta)
    • Process API keys (Beta)
    • Authenticating
    • Versioning
    • Get results
    • Get OCR results
    • Get processes
    • Get process types
    • Get collections
    • Metadata
      • Setting metadata value
    • Upload File
    • Export
    • Download original files
    • Delete collection
    • Reset process configuration
  • Resources
    • 💻Alphamoon Website
Powered by GitBook
On this page
  1. API

Get processes

A quick tutorial on how to get the process_id

Whenever you upload your files, they go to a selected process.

The following endpoint returns the list of processes along with process_ids:

Get processes

GET /api/v0.3/processes

{
  "processes": [
    {
      "id": "db5f9a6d63da4e0795a3f73bfbf56a8d",
      "name": "test Kasia invoices",
      "typeId": "bbe7f45aea884e74bbd011a5f57e87f0",
      "typeName": "Invoices",
      "status": "Ready",
      "version": "0.1",
      "lastUpdated": "2023-06-07T09:47:29Z",
      "usage": 2,
      "orgId": "org_Bi1xYf9RLwZV5RUu",
      "createdBy": "google-oauth2|115269842468606867512",
      "createdAt": "2023-06-07T09:47:29Z",
      "updatedAt": "2023-06-07T09:49:36Z",
      "accesses": {
        "google-oauth2|115269842468606867512": {
          "subjectId": "google-oauth2|115269842468606867512",
          "role": "owner",
          "permissions": [
            "workspace.collection:read",
            "workspace.result:read",
            "workspace.process:read",
            "workspace.collection:create",
            "workspace.collection:update",
            "workspace.collection:delete",
            "workspace.file:upload",
            "workspace.file:download",
            "workspace.result:create",
            "workspace.result:update",
            "workspace.result:delete",
            "workspace.process:update",
            "workspace.process:delete",
            "workspace.admin.user:read",
            "workspace.admin.user:invite",
            "workspace.admin.user:manage",
            "workspace.admin.collection:manage"
          ],
          "grantedAt": "2023-06-07T09:47:29Z",
          "grantedBy": "google-oauth2|115269842468606867512"
        }
      }
    },
    {
      "id": "4c7adfa724cc41d984c63c63fe3d7ffb",
      "name": "Michu na temacie",
      "typeId": "bbe7f45aea884e74bbd011a5f57e87f0",
      "typeName": "Invoices",
      "status": "Ready",
      "version": "0.1",
      "lastUpdated": "2023-06-06T14:25:51Z",
      "usage": 0,
      "orgId": "org_Bi1xYf9RLwZV5RUu",
      "createdBy": "auth0|63ea07ab2bc88f865b8df2d6",
      "createdAt": "2023-06-06T14:25:51Z",
      "updatedAt": "2023-06-06T14:25:51Z",
      "accesses": {
        "auth0|63ea07ab2bc88f865b8df2d6": {
          "subjectId": "auth0|63ea07ab2bc88f865b8df2d6",
          "role": "owner",
          "permissions": [
            "workspace.collection:read",
            "workspace.result:read",
            "workspace.process:read",
            "workspace.collection:create",
            "workspace.collection:update",
            "workspace.collection:delete",
            "workspace.file:upload",
            "workspace.file:download",
            "workspace.result:create",
            "workspace.result:update",
            "workspace.result:delete",
            "workspace.process:update",
            "workspace.process:delete",
            "workspace.admin.user:read",
            "workspace.admin.user:invite",
            "workspace.admin.user:manage",
            "workspace.admin.collection:manage"
          ],
          "grantedAt": "2023-06-06T14:25:51Z",
          "grantedBy": "auth0|63ea07ab2bc88f865b8df2d6"
        }
      }
    },
    {
      "id": "ac227368aa59409886ce7bb3f0b8b361",
      "name": "Michu na custom testach",
      "typeId": "29b0618e37a94dc9950e7fcfaff338b9",
      "typeName": "Custom",
      "status": "Ready",
      "version": "0.1",
      "lastUpdated": "2023-06-06T13:06:15Z",
      "usage": 14,
      "orgId": "org_Bi1xYf9RLwZV5RUu",
      "createdBy": "auth0|63ea07ab2bc88f865b8df2d6",
      "createdAt": "2023-06-06T13:06:15Z",
      "updatedAt": "2023-06-06T13:15:57Z",
      "accesses": {
        "auth0|63ea07ab2bc88f865b8df2d6": {
          "subjectId": "auth0|63ea07ab2bc88f865b8df2d6",
          "role": "owner",
          "permissions": [
            "workspace.collection:read",
            "workspace.result:read",
            "workspace.process:read",
            "workspace.collection:create",
            "workspace.collection:update",
            "workspace.collection:delete",
            "workspace.file:upload",
            "workspace.file:download",
            "workspace.result:create",
            "workspace.result:update",
            "workspace.result:delete",
            "workspace.process:update",
            "workspace.process:delete",
            "workspace.admin.user:read",
            "workspace.admin.user:invite",
            "workspace.admin.user:manage",
            "workspace.admin.collection:manage"
          ],
          "grantedAt": "2023-06-06T13:06:15Z",
          "grantedBy": "auth0|63ea07ab2bc88f865b8df2d6"
        }
      }
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 3,
    "total": 30
  }
}
curl -X 'GET' \
  'https://workspace.alphamoon.ai/api/v0.3/processes?offset=0&limit=3&order=created_date%3Adesc' \
  -H 'accept: application/json' \
  -H 'Authorization: Basic API_KEY_BASE64_ENCODED'
{
  "processes": [
    {
      "id": "db5f9a6d63da4e0795a3f73bfbf56a8d",
      "name": "test Kasia invoices",
      "typeId": "bbe7f45aea884e74bbd011a5f57e87f0",
      "typeName": "Invoices",
      "status": "Ready",
      "version": "0.1",
      "lastUpdated": "2023-06-07T09:47:29Z",
      "usage": 2,
      "orgId": "org_Bi1xYf9RLwZV5RUu",
      "createdBy": "google-oauth2|115269842468606867512",
      "createdAt": "2023-06-07T09:47:29Z",
      "updatedAt": "2023-06-07T09:49:36Z",
      "accesses": {
        "google-oauth2|115269842468606867512": {
          "subjectId": "google-oauth2|115269842468606867512",
          "role": "owner",
          "permissions": [
            "workspace.collection:read",
            "workspace.result:read",
            "workspace.process:read",
            "workspace.collection:create",
            "workspace.collection:update",
            "workspace.collection:delete",
            "workspace.file:upload",
            "workspace.file:download",
            "workspace.result:create",
            "workspace.result:update",
            "workspace.result:delete",
            "workspace.process:update",
            "workspace.process:delete",
            "workspace.admin.user:read",
            "workspace.admin.user:invite",
            "workspace.admin.user:manage",
            "workspace.admin.collection:manage"
          ],
          "grantedAt": "2023-06-07T09:47:29Z",
          "grantedBy": "google-oauth2|115269842468606867512"
        }
      }
    },
    {
      "id": "4c7adfa724cc41d984c63c63fe3d7ffb",
      "name": "Michu na temacie",
      "typeId": "bbe7f45aea884e74bbd011a5f57e87f0",
      "typeName": "Invoices",
      "status": "Ready",
      "version": "0.1",
      "lastUpdated": "2023-06-06T14:25:51Z",
      "usage": 0,
      "orgId": "org_Bi1xYf9RLwZV5RUu",
      "createdBy": "auth0|63ea07ab2bc88f865b8df2d6",
      "createdAt": "2023-06-06T14:25:51Z",
      "updatedAt": "2023-06-06T14:25:51Z",
      "accesses": {
        "auth0|63ea07ab2bc88f865b8df2d6": {
          "subjectId": "auth0|63ea07ab2bc88f865b8df2d6",
          "role": "owner",
          "permissions": [
            "workspace.collection:read",
            "workspace.result:read",
            "workspace.process:read",
            "workspace.collection:create",
            "workspace.collection:update",
            "workspace.collection:delete",
            "workspace.file:upload",
            "workspace.file:download",
            "workspace.result:create",
            "workspace.result:update",
            "workspace.result:delete",
            "workspace.process:update",
            "workspace.process:delete",
            "workspace.admin.user:read",
            "workspace.admin.user:invite",
            "workspace.admin.user:manage",
            "workspace.admin.collection:manage"
          ],
          "grantedAt": "2023-06-06T14:25:51Z",
          "grantedBy": "auth0|63ea07ab2bc88f865b8df2d6"
        }
      }
    },
    {
      "id": "ac227368aa59409886ce7bb3f0b8b361",
      "name": "Michu na custom testach",
      "typeId": "29b0618e37a94dc9950e7fcfaff338b9",
      "typeName": "Custom",
      "status": "Ready",
      "version": "0.1",
      "lastUpdated": "2023-06-06T13:06:15Z",
      "usage": 14,
      "orgId": "org_Bi1xYf9RLwZV5RUu",
      "createdBy": "auth0|63ea07ab2bc88f865b8df2d6",
      "createdAt": "2023-06-06T13:06:15Z",
      "updatedAt": "2023-06-06T13:15:57Z",
      "accesses": {
        "auth0|63ea07ab2bc88f865b8df2d6": {
          "subjectId": "auth0|63ea07ab2bc88f865b8df2d6",
          "role": "owner",
          "permissions": [
            "workspace.collection:read",
            "workspace.result:read",
            "workspace.process:read",
            "workspace.collection:create",
            "workspace.collection:update",
            "workspace.collection:delete",
            "workspace.file:upload",
            "workspace.file:download",
            "workspace.result:create",
            "workspace.result:update",
            "workspace.result:delete",
            "workspace.process:update",
            "workspace.process:delete",
            "workspace.admin.user:read",
            "workspace.admin.user:invite",
            "workspace.admin.user:manage",
            "workspace.admin.collection:manage"
          ],
          "grantedAt": "2023-06-06T13:06:15Z",
          "grantedBy": "auth0|63ea07ab2bc88f865b8df2d6"
        }
      }
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 3,
    "total": 30
  }
}

See next:

PreviousGet OCR resultsNextGet process types

Last updated 11 months ago