Profiles

A profile is a named store of cookies and local storage. You start a session with a profile name, and the session can save back into that profile when it ends.

In the dashboard: Profile, Profile name, Saved profiles. In the API: profile on create, plus GET /v1/profiles and DELETE /v1/profiles/{name}.

OpenAPI: the profile state itself (cookies, storage) is never returned on list. It goes only into a session.

Create with a profile

SessionRequest.profile: string or null. Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$.

Description: name of a profile whose cookies and localStorage this session starts with and saves back to when it ends.

request.sh
curl -X POST "https://interact.geonode.io/v1/sessions?wait=true" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "country": "us",
    "engine": "chromium",
    "profile": "Geonode_Testing"
  }'

Response fields

FieldMeaning
profileThe profile this session started from and saves back to.
profile_loadedWhether the container took the profile. Null when none was asked for, or not yet.
profile_savedWhether cookies and local storage were saved into the profile when it ended. Null while it runs or without a profile.
profile_noteWhy the end did not save: empty (nothing to keep; the profile keeps what it had), over_cap, or unreadable. Null when it saved.
response.json
{
  "id": "aa11a2a310b4",
  "state": "ready",
  "profile": "Geonode_Testing",
  "profile_loaded": true,
  "profile_saved": null,
  "profile_note": null
}

List profiles

list.sh
curl "https://interact.geonode.io/v1/profiles" \
  -H "X-API-Key: YOUR_API_KEY"

Each item is ProfileSummary:

FieldMeaning
nameProfile name.
updated_atUnix seconds of the last save. The profile expires 30 days after it.
bytesSize when known.
cookiesCookie count.
originsOrigin count.

Delete a profile

delete.sh
curl -X DELETE "https://interact.geonode.io/v1/profiles/Geonode_Testing" \
  -H "X-API-Key: YOUR_API_KEY"

Next

Was this page helpful?

On this page