TaskNet
  • Welcome to TaskNet Documentation
  • ๐Ÿš€Getting Started
    • Authentication
      • API KEY
      • Environments
      • Fingerprints
    • Private Vs Public
    • QuickStart
  • Node Operators
    • Becoming a Node Operator
  • ๐Ÿ“•Features
    • Browser Sessions
      • Automation Script Support
      • Automation with API
      • Real-Time View
      • File Downloads, and Uploads
    • User Fingerprints
      • Proxy
      • Chrome Extensions
  • ๐Ÿ“šGuides
    • Running Automation Scripts
    • RealTime View
  • reference
    • Typescript SDK
      • NodeJS/Typescript
    • API Reference
      • Sessions
      • Enviornments
      • Fingerprints
      • Extensions
      • Page
      • Operators
  • What's New
    • Changelog
  • Socials
    • X
    • Github
    • Linkedin
    • Discord
Powered by GitBook
On this page
  1. reference
  2. API Reference

Enviornments

PreviousSessionsNextFingerprints

Last updated 3 months ago

GetEnvironment

get

Retrieves details of a specific environment

Authorizations
Path parameters
modestringRequired
environmentUUIDstring ยท uuidRequired
Responses
200
Environment details
application/json
get
GET /{mode}/v1/environments/{environmentUUID} HTTP/1.1
Host: api.tasknet.co
X-Api-Key: YOUR_API_KEY
Accept: */*
200

Environment details

{
  "environmentUUID": "ee71bea6-84b9-4baa-8d1b-8d8710c4079a",
  "name": "Dev",
  "publicKey": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwXSEF7IZ3+OIQZEnZugN...",
  "createdAt": "2025-01-30T05:42:00.303Z"
}

DeleteEnvironment

delete

Deletes a specific environment

Authorizations
Path parameters
modestringRequired
environmentUUIDstring ยท uuidRequired
Responses
200
Environment deleted successfully
application/json
Responseobject
delete
DELETE /{mode}/v1/environments/{environmentUUID} HTTP/1.1
Host: api.tasknet.co
X-Api-Key: YOUR_API_KEY
Accept: */*
200

Environment deleted successfully

{}
  • POSTCreateEnvironment
  • GETListEnvironments
  • GETGetEnvironment
  • DELETEDeleteEnvironment

ListEnvironments

get

Retrieves a list of all environments

Authorizations
Path parameters
modestringRequired
Responses
200
List of environments
application/json
get
GET /{mode}/v1/environments HTTP/1.1
Host: api.tasknet.co
X-Api-Key: YOUR_API_KEY
Accept: */*
200

List of environments

{
  "environments": [
    {
      "environmentUUID": "ee71bea6-84b9-4baa-8d1b-8d8710c4079a",
      "name": "Dev",
      "publicKey": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwXSEF7IZ3+OIQZEnZugN...",
      "createdAt": "2025-01-30T05:42:00.303Z"
    }
  ]
}

CreateEnvironment

post

Creates a new environment

Authorizations
Path parameters
modestringRequired
Body
namestringRequiredExample: env12
Responses
200
Created environment
application/json
Responseall of
post
POST /{mode}/v1/environments HTTP/1.1
Host: api.tasknet.co
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "name": "env12"
}
200

Created environment

{
  "environmentUUID": "ee71bea6-84b9-4baa-8d1b-8d8710c4079a",
  "name": "Dev",
  "publicKey": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwXSEF7IZ3+OIQZEnZugN...",
  "createdAt": "2025-01-30T05:42:00.303Z",
  "envSecret": "b05ce9192be2b8830bae66a93baff272c752bc30983eae5001a8e73d9fb4c72e"
}